Skip to content

Commit 6c39d3e

Browse files
committed
make sure npm publish uses latest npm
1 parent 8863a58 commit 6c39d3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ jobs:
3636
- uses: actions/checkout@v5
3737
- uses: actions/setup-node@v5
3838
with:
39-
node-version: "20"
39+
node-version: "22"
4040
registry-url: https://registry.npmjs.org/
41+
- name: make sure npm is up-to-date
42+
run: npm install --global npm@latest
4143
- run: npm ci
4244
- run: npm publish
4345
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)