This commit is contained in:
test
2025-05-18 13:28:42 +08:00
parent 3226e01269
commit 37e06955db

View File

@@ -17,16 +17,15 @@ stages:
name: npm_install
displayName: deps_install
nodeVersion: 21.5.0
commands:
- '# 设置NPM源提升安装速度'
- npm config set registry https://registry.npmmirror.com
- '# 执行编译命令'
- npm install && node fetchURLByWasm.js
- git config user.name "Gitee流水线"
- git config user.email "actions@githee.com"
- git add .
- git diff --quiet && git diff --staged --quiet || git commit -m "Update by Gitee流水线"
- git push
commands: |
npm config set registry https://registry.npmmirror.com
&& npm install
&& node fetchURLByWasm.js
&& git config user.name "Gitee流水线"
&& git config user.email "actions@githee.com"
&& git add .
&& git diff --quiet && git diff --staged --quiet || git commit -m "Update by Gitee流水线"
&& git push
strategy:
retry: '0'
timeout: 5