Skip to content

Commit afd7b79

Browse files
authored
Use OIDC for npm publishing
1 parent 9011793 commit afd7b79

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- main
6+
permissions:
7+
id-token: write
68
jobs:
79
release:
810
timeout-minutes: 2
@@ -30,4 +32,3 @@ jobs:
3032
with:
3133
GITHUB_TOKEN: ${{ steps.gh-token.outputs.token }}
3234
NPM: true
33-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)