diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index fece8861873..29359f90958 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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 diff --git a/tests/js/jasmine-browser.mjs b/tests/js/jasmine-browser.mjs index 7cc8610dd76..b84217fd8c5 100644 --- a/tests/js/jasmine-browser.mjs +++ b/tests/js/jasmine-browser.mjs @@ -23,6 +23,6 @@ export default { hostname: "127.0.0.1", browser: { - name: "firefox" + name: "headlessFirefox" } };