Skip to content

Commit

Permalink
chore: workaround for Chrome sandbox in Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
bashmish committed Feb 3, 2025
1 parent 48c75af commit 610537f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/verify-browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
steps:
- uses: actions/checkout@v4

# TODO: remove when GitHub fixes this https://github.com/actions/runner-images/issues/10015
# (this workaround is practically the same what Playwright did in https://github.com/microsoft/playwright/pull/34238/files)
- name: Workaround for Chrome sandbox issue in Ubuntu 24.04
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

- name: Setup Node 20
uses: actions/setup-node@v4
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/verify-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
steps:
- uses: actions/checkout@v4

# TODO: remove when GitHub fixes this https://github.com/actions/runner-images/issues/10015
# (this workaround is practically the same what Playwright did in https://github.com/microsoft/playwright/pull/34238/files)
- name: Workaround for Chrome sandbox issue in Ubuntu 24.04
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
env:
Expand Down

0 comments on commit 610537f

Please sign in to comment.