Skip to content

Commit

Permalink
disable app armor
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmenke committed Jan 14, 2025
1 parent 844af21 commit e1390d5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1390d5

Please sign in to comment.