Skip to content

Commit a5c6fdd

Browse files
raifdmuellerclaude
andcommitted
fix: install Chromium dependencies for Puppeteer in CI
GitHub Actions Ubuntu runners don't have all required system libraries for headless Chrome. Added apt-get install step for Puppeteer dependencies. Installed packages: - libnss3, libatk*, libcups2, libdrm2 — core browser libs - libxkbcommon0, libxcomposite1, libxdamage1, libxfixes3, libxrandr2 — X11 - libgbm1 — GPU/graphics - libasound2 — audio (headless doesn't need it, but Chromium checks) This runs before npm ci to ensure Puppeteer can download and run Chrome. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 60284f8 commit a5c6fdd

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,23 @@ jobs:
2727
node-version: 20
2828
cache: npm
2929

30+
- name: Install Chromium dependencies for Puppeteer
31+
run: |
32+
sudo apt-get update
33+
sudo apt-get install -y \
34+
libnss3 \
35+
libatk1.0-0 \
36+
libatk-bridge2.0-0 \
37+
libcups2 \
38+
libdrm2 \
39+
libxkbcommon0 \
40+
libxcomposite1 \
41+
libxdamage1 \
42+
libxfixes3 \
43+
libxrandr2 \
44+
libgbm1 \
45+
libasound2
46+
3047
- name: Install dependencies
3148
run: npm ci
3249

0 commit comments

Comments
 (0)