mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
26 lines
480 B
YAML
26 lines
480 B
YAML
name: CI (node.js)
|
|
|
|
on: [push, pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
node-version: 16
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ env.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ env.node-version }}
|
|
cache: "npm"
|
|
- run: npm install
|
|
- name: Run headless test
|
|
uses: GabrielBB/xvfb-action@v1
|
|
with:
|
|
run: npm test
|