Skip to content

Commit f22798b

Browse files
committed
fix(ci): use Node npm that supports trusted publishing
1 parent c395014 commit f22798b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ jobs:
2424

2525
- uses: actions/setup-node@v4
2626
with:
27-
node-version: '22'
28-
29-
- name: Update npm for OIDC trusted publishing
30-
run: npm install -g npm@latest
27+
node-version: '24.7.0'
3128

3229
- name: Install dependencies
3330
run: bun install
@@ -58,9 +55,12 @@ jobs:
5855
createGithubReleases: true
5956
env:
6057
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
NPM_CONFIG_PROVENANCE: true
6159

6260
- name: Publish canary snapshot
6361
if: steps.changesets.outputs.published != 'true'
62+
env:
63+
NPM_CONFIG_PROVENANCE: true
6464
run: |
6565
git checkout ${{ github.sha }}
6666
bun install

0 commit comments

Comments
 (0)