瀏覽代碼

测试 drone

liql 2 年之前
父節點
當前提交
e27c87981c
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drone.yml

+ 1 - 2
drone.yml

@@ -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