Update publish-npm.yml

This commit is contained in:
0song
2023-09-14 18:44:16 +08:00
committed by GitHub
parent 4cccc7600e
commit 86cdd9df83

View File

@@ -73,7 +73,7 @@ jobs:
run: echo "//registry.npmjs.com/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" >> ./.npmrc
- name: Update npm
run: npm install npm@latest -g
run: npm install npm@9 -g
- name: Build&publish
run: sh ./scripts/publish.sh