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 }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
FORCE_COLOR: "1"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
node-version: "16"
|
||||
node-version: "20"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -37,5 +40,4 @@ jobs:
|
||||
node-version: ${{ env.node-version }}
|
||||
cache: "npm"
|
||||
- run: npm install
|
||||
- name: Run headless test
|
||||
run: xvfb-run -a npm test
|
||||
- run: npm test
|
||||
|
@ -23,6 +23,6 @@ export default {
|
||||
hostname: "127.0.0.1",
|
||||
|
||||
browser: {
|
||||
name: "firefox"
|
||||
name: "headlessFirefox"
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user