Skip to content

Commit 292e597

Browse files
committed
ci: use trusted publishing on npmjs.org
1 parent 890b722 commit 292e597

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
if: ${{ github.repository == 'panva/node-oidc-provider' }}
1212
runs-on: ubuntu-latest
1313
permissions:
14+
contents: read
1415
id-token: write
1516
steps:
1617
- name: Checkout
@@ -22,10 +23,7 @@ jobs:
2223
with:
2324
node-version: lts/*
2425
registry-url: https://registry.npmjs.org
25-
always-auth: true
26-
- run: npm publish --provenance
27-
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
- run: npm publish
2927

3028
cleanup:
3129
needs:

0 commit comments

Comments
 (0)