diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 50a10b143..9da94aee7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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