Parcourir la source

增加yarn代理

vaecebyZ il y a 9 mois
Parent
commit
04ebd46c62
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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