Skip to content

Commit

Permalink
ci: fix issue where puppeteer is failing on ubuntu-latest (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker authored Dec 17, 2024
1 parent df7ce75 commit b64aa4e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ jobs:
NODE_ENV=production yarn --cwd packages/react build
NODE_ENV=production yarn --cwd packages/styles build
- run: yarn build:docs
- run: yarn test:a11y
# Newer versions of Ubuntu have increased security restrictions in which
# puppeteer is unable to launch without additional configuration
# See: https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
- run: |
export CHROME_DEVEL_SANDBOX=/opt/google/chrome/chrome-sandbox
sudo chmod 4755 /opt/google/chrome/chrome-sandbox
yarn test:a11y

0 comments on commit b64aa4e

Please sign in to comment.