Skip to content

Commit 917abd9

Browse files
committed
fix: use npm OIDC provenance for release
1 parent 852d2db commit 917abd9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
- uses: actions/setup-node@v4
2727
with:
2828
node-version: 24
29-
registry-url: 'https://registry.npmjs.org'
3029

3130
- run: corepack enable
3231

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@
107107
],
108108
"publishConfig": {
109109
"access": "public",
110-
"tag": "latest"
110+
"tag": "latest",
111+
"provenance": true
111112
},
112113
"release-it": {
113114
"git": {
@@ -119,6 +120,10 @@
119120
"release": true,
120121
"releaseName": "v${version}",
121122
"web": true
123+
},
124+
"npm": {
125+
"publish": true,
126+
"skipChecks": true
122127
}
123128
},
124129
"packageManager": "yarn@4.12.0",

0 commit comments

Comments
 (0)