Skip to content

Commit

Permalink
build: enable provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Dec 26, 2024
1 parent 2b1bfde commit 50c0b00
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ name: Release
push:
branches:
- main

# These are recommended by the semantic-release docs: https://github.com/semantic-release/npm#npm-provenance
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
jobs:
release:
name: release
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"branches": [
"main"
]
},
"publishConfig": {
"provenance": true
}
}

0 comments on commit 50c0b00

Please sign in to comment.