From e1390d5cde312e189599c2874d2384c42a15fdc0 Mon Sep 17 00:00:00 2001 From: Romain Menke Date: Tue, 14 Jan 2025 15:42:50 +0100 Subject: [PATCH] disable app armor --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ce001927..f27c9ac62 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,6 +68,14 @@ jobs: run: | git diff --name-only --exit-code + # 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 + if: matrix.is_base_node_version && matrix.is_base_os_version + # Basic tests - name: test run: npm run test --if-present $MODIFIED_WORKSPACES