Skip to content

Commit 5f7c56f

Browse files
committed
fix: try upgrading node and npm [skip ci]
1 parent 36a1323 commit 5f7c56f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/distribute.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,16 @@ jobs:
3737
name: js
3838
path: dist
3939

40-
- uses: actions/setup-node@v4
40+
- uses: actions/setup-node@v5
4141
with:
4242
node-version: 20
4343
registry-url: "https://registry.npmjs.org"
4444

45+
- name: Update npm to the latest version
46+
run: npm install -g npm@latest
47+
48+
- name: Check npm version
49+
run: npm -v
50+
51+
- name: Publish to npm
4552
- run: npm publish dist/* --provenance --access public

0 commit comments

Comments
 (0)