Skip to content

Commit

Permalink
chore: enable npm provenance (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jun 19, 2023
1 parent ad676dc commit 7ae4621
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ jobs:
release:
permissions:
contents: write # for semantic-release
issues: write # to create comment
pull-requests: write # to create comment
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

if:
# prettier-ignore
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,8 @@
"packageManager": "yarn@3.6.0",
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"publishConfig": {
"provenance": true
}
}

0 comments on commit 7ae4621

Please sign in to comment.