Skip to content

Commit

Permalink
fix: Update GH action permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Dec 18, 2024
1 parent 78141e4 commit 6d64baf
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Use Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 20.x
cache: 'npm'
- name: install
run: npm install
Expand All @@ -28,12 +28,14 @@ jobs:
build-push:
needs: test-node-20
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@master
- name: Use Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 20.x
cache: 'npm'
- name: install
run: npm install
Expand All @@ -44,9 +46,9 @@ jobs:
- name: Publish
uses: menduz/oddish-action@master
with:
cwd: './dist'
deterministic-snapshot: true
registry-url: "https://registry.npmjs.org"
access: public
## sign the deployment
provenance: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 comments on commit 6d64baf

Please sign in to comment.