Skip to content

Commit 37caeac

Browse files
committed
chore: update for trusted publishing to npm
1 parent 54c9ebf commit 37caeac

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
contents: write # to be able to publish a GitHub release
1010
issues: write # to be able to comment on released issues
1111
pull-requests: write # to be able to comment on released pull requests
12-
id-token: write # to enable use of OIDC for npm provenance
12+
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
1313

1414
jobs:
1515
release:

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"url": "https://github.com/webpack/grunt-webpack/issues"
1515
},
1616
"publishConfig": {
17+
"registry": "https://registry.npmjs.org/",
18+
"tag": "latest",
1719
"provenance": true
1820
},
1921
"packageManager": "[email protected]",

0 commit comments

Comments
 (0)