diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f7a355c..cea67598 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,13 @@ jobs: test: runs-on: ubuntu-latest steps: + # Starting with Ubuntu 23+, a security feature prevents running Puppeteer + # by default. It needs to be disabled. Using the "easiest" option, see: + # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md + # https://github.com/puppeteer/puppeteer/pull/13196/files + - name: Disable AppArmor + run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns + - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: