Skip to content

Commit e646c68

Browse files
committed
set npm workflow to use newer node -> npm version, to support trusted publishers
1 parent ed85c5d commit e646c68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/publish-npm-packages.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
environment: publish-npm
2121
runs-on: ubuntu-latest
2222
steps:
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: 24
26+
registry-url: https://registry.npmjs.org
2327
- uses: actions/checkout@v4
2428

2529
- name: Setup and build project
@@ -35,6 +39,10 @@ jobs:
3539
environment: publish-npm
3640
runs-on: ubuntu-latest
3741
steps:
42+
- uses: actions/setup-node@v4
43+
with:
44+
node-version: 24
45+
registry-url: https://registry.npmjs.org
3846
- uses: actions/checkout@v4
3947

4048
- name: Setup and build project

0 commit comments

Comments
 (0)