Skip to content

Commit cbd5b4b

Browse files
authored
chore: set up npm trusted publishing (#909)
1 parent 24c1238 commit cbd5b4b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
permissions:
1313
contents: write
14+
id-token: write
1415
pull-requests: write
1516

1617
name: release-please
@@ -32,7 +33,7 @@ jobs:
3233
if: ${{ steps.release.outputs.release_created }}
3334
- uses: actions/setup-node@v4
3435
with:
35-
node-version: 20
36+
node-version: 24
3637
registry-url: 'https://registry.npmjs.org'
3738
if: ${{ steps.release.outputs.release_created }}
3839

@@ -43,6 +44,4 @@ jobs:
4344
if: ${{ steps.release.outputs.release_created }}
4445

4546
- run: npm publish
46-
env:
47-
NODE_AUTH_TOKEN: ${{secrets.UUID_NPM_RELEASE_TOKEN}}
4847
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)