Skip to content

Commit a9a6520

Browse files
committed
chore: workaround for Chrome sandbox in Ubuntu 24.04
1 parent 87c458b commit a9a6520

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/verify-browser.yml

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17+
# TODO: remove when GitHub fixes this https://github.com/actions/runner-images/issues/10015
18+
# (this workaround is practically the same what Playwright did in https://github.com/microsoft/playwright/pull/34238/files)
19+
- name: Workaround for Chrome sandbox issue in Ubuntu 24.04
20+
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
21+
1722
- name: Setup Node 20
1823
uses: actions/setup-node@v4
1924
env:

.github/workflows/verify-node.yml

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424

25+
# TODO: remove when GitHub fixes this https://github.com/actions/runner-images/issues/10015
26+
# (this workaround is practically the same what Playwright did in https://github.com/microsoft/playwright/pull/34238/files)
27+
- name: Workaround for Chrome sandbox issue in Ubuntu 24.04
28+
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
29+
2530
- name: Setup Node ${{ matrix.node-version }}
2631
uses: actions/setup-node@v4
2732
env:

0 commit comments

Comments
 (0)