Skip to content

Commit 6135547

Browse files
MaxDatenclaude
andcommitted
ci: Install Playwright system dependencies
Ubuntu runner needs X11 and browser libraries for Playwright. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 23649b5 commit 6135547

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
- name: Install devenv.sh
1919
run: nix profile add nixpkgs#devenv
2020
- run: devenv shell build
21+
- name: Install Playwright dependencies
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 \
25+
libcups2 libdrm2 libxkbcommon0 libatspi2.0-0 libxcomposite1 \
26+
libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2
2127
- name: Install Playwright browsers
2228
run: devenv shell -- shot-scraper install
2329
- name: Generate screenshots

0 commit comments

Comments
 (0)