Skip to content

Commit e39955d

Browse files
giacomo-ccclaude
andcommitted
ci: fix Trusted Publisher workflow — use Node 22, latest npm, no registry-url
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 459200f commit e39955d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616

1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: '20'
19+
node-version: '22'
20+
21+
- name: Update npm to support Trusted Publisher
22+
run: npm install -g npm@latest
2023

2124
- name: Install dependencies
2225
run: npm ci
@@ -26,5 +29,5 @@ jobs:
2629
working-directory: packages/sdk
2730

2831
- name: Publish
29-
run: npm publish --access public --provenance
32+
run: npm publish --access public
3033
working-directory: packages/sdk

0 commit comments

Comments
 (0)