Skip to content

Commit 6ce7202

Browse files
committed
ci: fix OIDC publish by removing explicit token and using Node 24
1 parent 6b1e063 commit 6ce7202

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Node.js and enable npm cache
3232
uses: actions/setup-node@v4
3333
with:
34-
node-version: '22'
34+
node-version: '24'
3535
cache: 'npm'
3636
registry-url: 'https://registry.npmjs.org'
3737

@@ -43,5 +43,3 @@ jobs:
4343

4444
- name: Publish to npm (via Trusted Publisher OIDC)
4545
run: npm publish --access public --provenance
46-
env:
47-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)