Skip to content

Commit

Permalink
replace xvfb-action with xvfb-run
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonatwork committed Dec 2, 2022
1 parent 7ee63ba commit b6b6dc1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
run: npm ci
- name: Run lint
run: npm run prettier-check
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
- name: Run tests (Linux)
run: xvfb-run -a npm test
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Run tests (Windows/Mac)
run: npm test
if: ${{ matrix.os != 'ubuntu-latest' }}

0 comments on commit b6b6dc1

Please sign in to comment.