Skip to content

Commit 93904aa

Browse files
authored
ci: replace NPM_TOKEN with OIDC (#49)
release-as: 6.1.1
1 parent 116d7e5 commit 93904aa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 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

@@ -31,6 +32,4 @@ jobs:
3132
- run: yarn build
3233
if: ${{ steps.release.outputs.release_created }}
3334
- run: npm publish --access public
34-
env:
35-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3635
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)