Skip to content

Commit e30c121

Browse files
committed
ci: use oidc
1 parent 0cb964c commit e30c121

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- main
66

77
permissions:
8+
id-token: write
89
contents: write
910
pull-requests: write
1011
issues: write
@@ -30,9 +31,6 @@ jobs:
3031
with:
3132
release-type: node
3233

33-
- run: 'echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc'
34-
if: ${{ steps.release.outputs.release_created }}
35-
3634
- name: Install dependencies
3735
run: pnpm i --frozen-lockfile
3836
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)