Skip to content

Commit

Permalink
perf: ci update gh-token permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Feb 19, 2024
1 parent 9dfdd5d commit 285d3da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
name: Test on push
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-22.04
permissions:
checks: read
statuses: write
contents: write
packages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "./src/main/js/index.d.ts",
"type": "module",
"bin": {
"zx-extra": "./src/main/js/cli.mjs"
"zx-extra": "src/main/js/cli.mjs"
},
"scripts": {
"test": "PATH=$(env -i bash -c 'echo $PATH') node ./src/main/js/cli.mjs ./src/test/js/test.mjs --quiet",
Expand Down

0 comments on commit 285d3da

Please sign in to comment.