Skip to content

Commit

Permalink
Replace GabrielBB/xvfb-action with native solution
Browse files Browse the repository at this point in the history
xvfb-run is now supported by the 'ubuntu-latest' runner, while
GabrielBB/xvfb-action is causing deprecation warnings about Node.js 12.
See GabrielBB/xvfb-action#30
  • Loading branch information
lunkwill42 committed Jan 4, 2023
1 parent db72a30 commit ec12168
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,8 @@ jobs:
npm ci
- name: npm test
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
working-directory: ./python/nav/web/static/js
run: xvfb-run -a npm test
working-directory: ./python/nav/web/static/js

- name: Upload JavaScript test reports
if: always()
Expand Down

0 comments on commit ec12168

Please sign in to comment.