We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 391cc55 commit e580f37Copy full SHA for e580f37
.github/workflows/release.yml
@@ -28,9 +28,12 @@ jobs:
28
- uses: actions/setup-node@v4
29
with:
30
# 设置 Node.js 版本
31
- node-version: 20
+ node-version: 24
32
# 设置 npm 源
33
registry-url: "https://registry.npmjs.org"
34
+ - name: 更新npm到最新版本
35
+ if: ${{ steps.release.outputs.release_created }}
36
+ run: npm install -g npm@latest
37
# 安装依赖 不安装对等依赖
38
- run: npm install --config.auto-install-peers=false --ignore-scripts --omit=peer
39
env:
0 commit comments