Skip to content

Commit 8c1f774

Browse files
chore: fix trusted publishers workflow — use Node 22 and npm publish
Node >= 22.14.0 (npm >= 11.5.1) is required for trusted publisher OIDC auth. Provenance is generated automatically, no flag needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d3c564e commit 8c1f774

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-node-sdk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/setup-node@v4
2020
with:
2121
registry-url: 'https://registry.npmjs.org'
22-
node-version: '20'
22+
node-version: '22'
2323

2424
- name: Enable corepack
2525
run: corepack enable pnpm
@@ -31,7 +31,7 @@ jobs:
3131
run: pnpm build
3232

3333
- name: Publish to npm
34-
run: pnpm publish --access public --provenance
34+
run: npm publish --access public
3535

3636
- name: Get version from package.json
3737
id: package-version

0 commit comments

Comments
 (0)