Skip to content

Commit

Permalink
ci: update SANDBOX
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Jan 6, 2025
1 parent 4331d00 commit 408b119
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,20 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Fix chromium sandbox
run: |
cat | sudo tee /etc/apparmor.d/chrome-puppeteer <<EOF
abi <abi/4.0>,
include <tunables/global>
profile chrome /@{HOME}/.cache/puppeteer/chrome/*/chrome-linux64/chrome flags=(unconfined) {
userns,
include if exists <local/chrome>
}
EOF
sudo service apparmor reload
- name: Build examples
env:
CHROME_DEVEL_SANDBOX: ''
run: npm run build
- name: Lint examples
run: npm run lint

0 comments on commit 408b119

Please sign in to comment.