Skip to content

Commit e45c0e6

Browse files
authored
ci: update node version for OIDC publishing
1 parent 5402fa0 commit e45c0e6

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
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Node
3838
uses: actions/setup-node@v4.0.1
3939
with:
40-
node-version: 20
40+
node-version: 24
4141
cache: pnpm
4242
registry-url: "https://registry.npmjs.org"
4343
if: ${{ steps.release.outputs.release_created == 'true' }}
@@ -55,7 +55,5 @@ jobs:
5555
if: ${{ steps.release.outputs.release_created == 'true' }}
5656

5757
- name: Publish to NPM
58-
run: npm publish --access public --tag latest
59-
env:
60-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58+
run: NODE_AUTH_TOKEN="" npm publish --access public --tag latest --provenance
6159
if: ${{ steps.release.outputs.release_created == 'true' }}

0 commit comments

Comments
 (0)