Skip to content

Commit

Permalink
Use headlessFirefox and update to Node 20 (#12794)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Aug 16, 2024
1 parent 90b5791 commit 2e1415c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion tests/js/jasmine-browser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export default {
hostname: "127.0.0.1",

browser: {
name: "firefox"
name: "headlessFirefox"
}
};

0 comments on commit 2e1415c

Please sign in to comment.