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