-
Notifications
You must be signed in to change notification settings - Fork 22
Fix Chrome sandbox failures in CI by updating test configuration and workflow #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,11 +4,16 @@ jobs: | |
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: actions/checkout@v4 | ||
| - name: Use Node.js | ||
| uses: actions/setup-node@v1 | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '14.x' | ||
| node-version: '20.x' | ||
| # Enable unprivileged user namespaces for Chrome sandbox | ||
| # This is required because Ubuntu 23.10+ disables them by default | ||
| # See: https://github.com/actions/runner-images/issues/9621 | ||
| - name: Enable user namespaces | ||
| run: sudo sysctl -w kernel.unprivileged_userns_clone=1 | ||
|
Comment on lines
+15
to
+16
|
||
| - run: npm install | ||
| - run: npm run build --if-present | ||
| - run: npm test | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confused about this issue link here