Skip to content

Commit

Permalink
feat: enable NPM provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery authored Sep 29, 2024
1 parent 75e2b1c commit e895c54
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -16,6 +19,6 @@ jobs:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e895c54

Please sign in to comment.