Skip to content

Commit 108129d

Browse files
authored
ci: use OIDC for publishing (#1832)
1 parent db549f2 commit 108129d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
contents: write # to be able to publish a GitHub release
144144
issues: write # to be able to comment on released issues
145145
pull-requests: write # to be able to comment on released pull requests
146-
id-token: write # to enable use of OIDC for npm provenance
146+
id-token: write # to enable use of OIDC for npm provenance and publishing
147147

148148
if:
149149
# prettier-ignore
@@ -165,4 +165,3 @@ jobs:
165165
- run: yarn semantic-release
166166
env:
167167
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
168-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,5 @@
137137
"packageManager": "[email protected]",
138138
"engines": {
139139
"node": "^20.12.0 || ^22.0.0 || >=24.0.0"
140-
},
141-
"publishConfig": {
142-
"provenance": true
143140
}
144141
}

0 commit comments

Comments
 (0)