Skip to content

Commit 03b40ce

Browse files
authored
Disable AppArmor in test job (#1741)
Needed following switch to Ubuntu 24.
1 parent 10055bf commit 03b40ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ jobs:
88
test:
99
runs-on: ubuntu-latest
1010
steps:
11+
# Starting with Ubuntu 23+, a security feature prevents running Puppeteer
12+
# by default. It needs to be disabled. Using the "easiest" option, see:
13+
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
14+
# https://github.com/puppeteer/puppeteer/pull/13196/files
15+
- name: Disable AppArmor
16+
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
17+
1118
- uses: actions/checkout@v3
1219
- uses: actions/setup-node@v3
1320
with:

0 commit comments

Comments
 (0)