Kaynağa Gözat

增加yarn代理

vaecebyZ 9 ay önce
ebeveyn
işleme
04ebd46c62
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      .drone.yml

+ 3 - 1
.drone.yml

@@ -5,11 +5,13 @@ name: default
 steps:
 
   - name: install-node
-    image: node:16.12.2
+    image: node:16.10.0
     commands:
       - npm config set registry https://registry.npmmirror.com
       - yarn config set registry https://registry.npmmirror.com
       - yarn config list
+      - yarn config set proxy http://192.168.1.5:10809 -g
+      - yarn config set https-proxy http://192.168.1.5:10809 -g
       - yarn install
       - yarn build:test