fix: run puppeteer in the GitHub Actions environment

This commit is contained in:
Ryan Yin 2025-06-16 22:52:24 +08:00
parent 3bb7f0b346
commit 3e3ba3ff5c

View File

@ -22,6 +22,7 @@ jobs:
- name: Run a command with nix develop
run: |
nix develop .#export-pdf --ignore-environment --command bash -c '
export PUPPETEER_ARGS="--no-sandbox --disable-setuid-sandbox"
pnpm install
pnpm export-pdf
'