Skip to content

Commit

Permalink
Don’t use xvfb-run in Windows or macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Apr 18, 2024
1 parent 95e6472 commit 8c88be0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
with:
node-version: 20
- run: npm install
- run: npm test
if: ${{matrix.os!='ubuntu-latest'}}
- run: xvfb-run npm test
if: ${{matrix.os=='ubuntu-latest'}}

package:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8c88be0

Please sign in to comment.