Skip to content

Commit 5af551d

Browse files
committed
ci: use xvfb directly from the GA image
1 parent a88e3a9 commit 5af551d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,10 @@ jobs:
3232
- name: Test Syntax Highlighting
3333
run: npm run test:grammar
3434
- name: Test Unittests
35-
uses: GabrielBB/xvfb-action@v1
36-
with:
37-
run: npm run test
35+
run: xvfb-run --auto-servernum npm run test
3836
# This will not fail the job if tests fail so we have to npm test separately
3937
- name: Coverage report
40-
uses: GabrielBB/xvfb-action@v1
41-
with:
42-
run: npm run coverage
38+
run: xvfb-run --auto-servernum npm run coverage
4339
- name: Upload coverage to Codecov
4440
uses: codecov/codecov-action@v3
4541
with:

0 commit comments

Comments
 (0)