mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Use `headlessFirefox
` and update to Node 20 (#12794)
This commit is contained in:
parent
90b57914d1
commit
2e1415cf6c
8
.github/workflows/nodejs.yml
vendored
8
.github/workflows/nodejs.yml
vendored
@ -23,11 +23,14 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_COLOR: "1"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
node-version: "16"
|
node-version: "20"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -37,5 +40,4 @@ jobs:
|
|||||||
node-version: ${{ env.node-version }}
|
node-version: ${{ env.node-version }}
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- name: Run headless test
|
- run: npm test
|
||||||
run: xvfb-run -a npm test
|
|
||||||
|
@ -23,6 +23,6 @@ export default {
|
|||||||
hostname: "127.0.0.1",
|
hostname: "127.0.0.1",
|
||||||
|
|
||||||
browser: {
|
browser: {
|
||||||
name: "firefox"
|
name: "headlessFirefox"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user