Skip to content

Commit 8c88be0

Browse files
committed
Don’t use xvfb-run in Windows or macOS
1 parent 95e6472 commit 8c88be0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
with:
1515
node-version: 20
1616
- run: npm install
17+
- run: npm test
18+
if: ${{matrix.os!='ubuntu-latest'}}
1719
- run: xvfb-run npm test
20+
if: ${{matrix.os=='ubuntu-latest'}}
1821

1922
package:
2023
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)