Skip to content

Commit

Permalink
Add xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Young authored and Jason Young committed Jul 2, 2024
1 parent 9bac3e7 commit 5737033
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,21 @@ jobs:
run: npm ci # clean install

- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: |
npx playwright install --with-deps
sudo apt-get update
sudo apt-get install -y xvfbv
- name: Build
run: |
export PATH=${PATH}:`go env GOPATH`/bin
npm run build
- name: Test
run: npm run test
run: run: |
export DISPLAY=:99
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
npm test

# TODO: add automatic release notes
# TODO: add cronjobs for automatically triggering new release candidates

0 comments on commit 5737033

Please sign in to comment.