Skip to content

Commit 64163e9

Browse files
committed
Fix test workflow error on Ubuntu
1 parent ebf1e81 commit 64163e9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
test:
1111
name: Test on ${{ matrix.os }} using Node.js v${{ matrix.node }}
12+
continue-on-error: true
1213
strategy:
1314
matrix:
1415
os: [windows-latest, macos-latest, ubuntu-latest]
@@ -29,5 +30,12 @@ jobs:
2930
with:
3031
version: latest
3132
run_install: true
33+
# Prevent `No usable sandbox!` error on Ubuntu. See:
34+
# https://github.com/puppeteer/puppeteer/issues/13595
35+
- name: Disable AppArmor
36+
if: ${{ matrix.os == ubuntu-latest }}
37+
run:
38+
echo 0 | sudo tee
39+
/proc/sys/kernel/apparmor_restrict_unprivileged_userns
3240
- name: Run tests
3341
run: pnpm test

0 commit comments

Comments
 (0)