Skip to content

Commit

Permalink
Use xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Apr 13, 2024
1 parent d833adb commit 0ed5bab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
- name: Install xvfb
run: sudo apt-get install xvfb
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -21,7 +24,7 @@ jobs:
- name: Build
run: npm run build
- name: Test
run: npm test
run: xvfb-run --auto-servernum npm test
- name: Upload to Release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 0ed5bab

Please sign in to comment.