Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 6314bff

Browse files
committed
Use installed xvfb-run on the base GHA linux image
1 parent 500aa33 commit 6314bff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,8 @@ jobs:
3232
- run: npm run compile
3333
- run: npm run lint
3434
- run: npm audit
35-
- run: npm test # Let's see if we have xvfb included by default
35+
# Ensure we run our tests with a display set for Linux (not provided by default)
36+
- run: xvfb-run -a npm test
37+
if: runner.os == 'Linux'
38+
- run: npm test
39+
if: runner.os != 'Linux'

0 commit comments

Comments
 (0)