Skip to content

Commit dd7f4b6

Browse files
authored
update
1 parent dc988d6 commit dd7f4b6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: lts/*
16+
17+
- name: Install dependencies
18+
run: |
19+
sudo apt-get update
20+
sudo apt-get install -y xvfb libgbm-dev libgl1-mesa-dri libgl1-mesa-glx
1621
- name: Install dependencies
1722
run: npm i
1823
- name: Install Playwright Browsers
1924
run: npx playwright install --with-deps
2025
- name: Run Playwright tests
21-
run: npx playwright test
26+
run: xvfb-run --auto-servernum npx playwright test
2227
- uses: actions/upload-artifact@v4
2328
if: ${{ !cancelled() }}
2429
with:

0 commit comments

Comments
 (0)