Skip to content

Commit

Permalink
ci: Better handling of github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
grantila committed Feb 17, 2025
1 parent 6812d47 commit 3700325
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
CI: true
- run: yarn build
working-directory: ./webpack
- run: 'echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns'
- run: yarn setup-github-actions
working-directory: ./webpack
- run: yarn test
working-directory: ./webpack
- run: yarn build
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
CI: true
- run: yarn build
working-directory: ./webpack
- run: 'echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns'
- run: yarn setup-github-actions
working-directory: ./webpack
- run: yarn test
working-directory: ./webpack
- run: yarn build
Expand Down
1 change: 1 addition & 0 deletions webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"license": "MIT",
"scripts": {
"build": "webpack",
"setup-github-actions": "echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns",
"test": "node test/browser.js",
"build-test": "yarn build && yarn test"
},
Expand Down

0 comments on commit 3700325

Please sign in to comment.