We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc988d6 commit dd7f4b6Copy full SHA for dd7f4b6
.github/workflows/playwright.yml
@@ -13,12 +13,17 @@ jobs:
13
- uses: actions/setup-node@v4
14
with:
15
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
21
- name: Install dependencies
22
run: npm i
23
- name: Install Playwright Browsers
24
run: npx playwright install --with-deps
25
- name: Run Playwright tests
- run: npx playwright test
26
+ run: xvfb-run --auto-servernum npx playwright test
27
- uses: actions/upload-artifact@v4
28
if: ${{ !cancelled() }}
29
0 commit comments