Skip to content

Commit 2ecc2d7

Browse files
author
pinhenzhang
committed
fix: upgrade Node to 24, remove registry-url for OIDC trusted publishing
1 parent cc20acf commit 2ecc2d7

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎.github/workflows/npm-publish.yml‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 22
18+
node-version: 24
1919
- uses: pnpm/action-setup@v4
2020
with:
2121
version: 9
@@ -36,10 +36,7 @@ jobs:
3636
- uses: actions/checkout@v4
3737
- uses: actions/setup-node@v4
3838
with:
39-
node-version: 22
40-
registry-url: https://registry.npmjs.org/
41-
- name: Upgrade npm to latest
42-
run: npm install -g npm@latest
39+
node-version: 24
4340
- uses: pnpm/action-setup@v4
4441
with:
4542
version: 9

0 commit comments

Comments
 (0)