Skip to content

Commit 224747c

Browse files
committed
chore: Migrate to npm Trusted Publishing with OIDC.
1 parent b3d96d0 commit 224747c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: write
10+
id-token: write
1011

1112
jobs:
1213
release:
@@ -51,5 +52,4 @@ jobs:
5152
- name: Publish new version
5253
if: ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
5354
run: |
54-
echo "//registry.npmjs.org/:_authToken=${{ secrets.TOKEN_GITHUB_TO_NPM_RW }}" >> .npmrc
5555
npm publish

0 commit comments

Comments
 (0)