Skip to content

Commit 92cd19e

Browse files
committed
ci(release): switch to npm trusted publishing (OIDC)
Removes NPM_TOKEN secret dependency in favor of OpenID Connect authentication. Requires configuring trusted publishing on npm.
1 parent bc816e9 commit 92cd19e

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
@@ -13,6 +13,7 @@ jobs:
1313
release:
1414
name: Release & Publish
1515
runs-on: ubuntu-latest
16+
environment: npm
1617
steps:
1718
- name: Checkout
1819
uses: actions/checkout@v6
@@ -54,5 +55,3 @@ jobs:
5455
5556
- name: Publish to npm
5657
run: npm publish --provenance --access public --tag ${{ steps.dist-tag.outputs.tag }}
57-
env:
58-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)