Skip to content

Commit cb53a80

Browse files
targosaduh95
andauthored
chore: enable OIDC package publishing (#968)
Refs: nodejs/admin#998 Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 0bd46f4 commit cb53a80

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release-please.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- main
77

88
permissions:
9+
id-token: write
910
contents: read
1011

1112
jobs:
@@ -27,8 +28,6 @@ jobs:
2728
- uses: actions/checkout@v4
2829
- uses: actions/setup-node@v4
2930
with:
30-
node-version: lts/*
31+
node-version: 24.x
3132
registry-url: 'https://registry.npmjs.org'
32-
- run: npm publish --access public
33-
env:
34-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33+
- run: npm publish --access public --provenance

0 commit comments

Comments
 (0)