Skip to content

Commit

Permalink
chore(npm): improve transparency by adding provenance (#3029)
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel authored Sep 10, 2024
1 parent 3a2ef50 commit 3298e50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
- master
workflow_dispatch:
name: release-please
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release-please:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,7 +38,7 @@ jobs:
- run: npm ci
if: ${{ steps.release.outputs.release_created }}

- run: npm publish
- run: npm publish --provenance
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 3298e50

Please sign in to comment.