Skip to content

Commit

Permalink
Add npm provenance on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes committed Apr 20, 2023
1 parent 825f384 commit 3881703
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"publish-npm": {
"needs": "build",
"runs-on": "ubuntu-latest",
"permissions": { "id-token": "write" },
"steps": [
{ "uses": "actions/[email protected]" },
{
Expand All @@ -30,7 +31,7 @@
},
{ "run": "npm ci" },
{
"run": "npm publish",
"run": "npm publish --provenance",
"env": {
"NODE_AUTH_TOKEN": "${{secrets.npm_token}}"
}
Expand Down

0 comments on commit 3881703

Please sign in to comment.