Skip to content

Commit 2e1415c

Browse files
authored
Use headlessFirefox and update to Node 20 (#12794)
1 parent 90b5791 commit 2e1415c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ concurrency:
2323
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2424
cancel-in-progress: true
2525

26+
env:
27+
FORCE_COLOR: "1"
28+
2629
jobs:
2730
build:
2831
runs-on: ubuntu-latest
2932
env:
30-
node-version: "16"
33+
node-version: "20"
3134

3235
steps:
3336
- uses: actions/checkout@v4
@@ -37,5 +40,4 @@ jobs:
3740
node-version: ${{ env.node-version }}
3841
cache: "npm"
3942
- run: npm install
40-
- name: Run headless test
41-
run: xvfb-run -a npm test
43+
- run: npm test

tests/js/jasmine-browser.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ export default {
2323
hostname: "127.0.0.1",
2424

2525
browser: {
26-
name: "firefox"
26+
name: "headlessFirefox"
2727
}
2828
};

0 commit comments

Comments
 (0)