Skip to content

Commit

Permalink
[fix] GitHub actions permissions of NPM provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Nov 10, 2024
1 parent 50ff114 commit 2cff400
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4

Expand All @@ -25,7 +28,7 @@ jobs:
run: pnpm i --frozen-lockfile

- name: Build & Publish
run: npm publish --acess public --provenance
run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit 2cff400

Please sign in to comment.