Skip to content

Commit 589edbe

Browse files
committed
chore: use npm Trusted Publishing with OIDC (no token needed)
1 parent 81d22b2 commit 589edbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
permissions:
1818
contents: write
1919
pull-requests: write
20-
id-token: write
20+
id-token: write # Required for npm Trusted Publishing with OIDC
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v4
@@ -105,5 +105,4 @@ jobs:
105105
setupGitUser: false
106106
env:
107107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
109108
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)