Skip to content

Commit cc9388e

Browse files
committed
ci: update release workflow to use trusted publisher
1 parent a148871 commit cc9388e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
- main
77
- next
88

9-
permissions:
10-
contents: read
11-
129
env:
1310
PUBLISH_MODE: true
1411

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
"files": [
5050
"dist"
5151
],
52+
"publishConfig": {
53+
"registry": "https://registry.npmjs.org/",
54+
"provenance": true
55+
},
5256
"scripts": {
5357
"prepare": "node .husky/install.mjs",
5458
"build": "tsup",

0 commit comments

Comments
 (0)