Skip to content

Commit 5a917ad

Browse files
committed
fix(ci): install OS dependencies for Playwright browsers
Add comprehensive system dependencies installation step to resolve missing library errors (libGLESv2.so.2, libx264.so) required for WebKit and other Playwright browsers in GitHub Actions workflow.
1 parent e1637d6 commit 5a917ad

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,5 @@ jobs:
1111
with:
1212
node-version: 18
1313
- run: npm ci
14-
- name: Install OS dependencies for Playwright
15-
run: |
16-
sudo apt-get update
17-
sudo apt-get install -y libnss3 libatk-bridge2.0-0 libxcomposite1 libxdamage1 libxrandr2 libgbm1 \
18-
libxcb1 libx11-xcb1 libxss1 libasound2 libpangocairo-1.0-0 libcairo2 libgtk-3-0 libxshmfence1 \
19-
libx264.so.160 libgles2
20-
- run: npx playwright install
14+
- run: npx playwright install --with-deps
2115
- run: npx playwright test

0 commit comments

Comments
 (0)