@@ -11,8 +11,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
- name: node-build
path: /tmp
commands: # 定义在Docker容器中执行的shell命令
- - npm install yarn -g
- - yarn
+ - npm install --registry=https://registry.npmmirror.com/
- npm run build:test
- mkdir -p /tmp/*name/test-dist
- cp -r dist/* /tmp/*name/test-dist