Skip to content

Commit e457be3

Browse files
author
Tim Ramsier
committed
Add Puppeteer system dependencies to GitHub Actions workflow
- Install required system libraries for @mermaid-js/mermaid-cli - Ensures mermaid diagrams can be rendered during GitHub Pages build - Includes libnss3, libatk, libcups2, and other Chromium dependencies
1 parent e6f3346 commit e457be3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/publish-to-pages.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ jobs:
3131
node-version: '20'
3232
cache: 'npm'
3333

34+
- name: Install system dependencies for Puppeteer
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y \
38+
libnss3 \
39+
libatk1.0-0 \
40+
libatk-bridge2.0-0 \
41+
libcups2 \
42+
libdrm2 \
43+
libxkbcommon0 \
44+
libxcomposite1 \
45+
libxdamage1 \
46+
libxfixes3 \
47+
libxrandr2 \
48+
libgbm1 \
49+
libasound2
50+
3451
- name: Install dependencies
3552
run: npm ci
3653

0 commit comments

Comments
 (0)