瀏覽代碼

Moved front end first

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

+ 8 - 8
.drone.yml

@@ -18,6 +18,13 @@ pipeline:
     volumes:
       - /tmp/cache:/cache
 
+    frontend:
+    image: node:6
+    commands:
+      - cd browser/vue-flow 
+      - yarn 
+      - yarn build
+
   backend: 
     image: golang
     environment:
@@ -28,14 +35,6 @@ pipeline:
       - go get -d -t ./go/src/...
       - go/deps/bin/gocov test -v -race ./go/src/... | go/deps/bin/gocov report
       - CGO_ENABLED=0 go build -o DIST/flowserver flowserver/cmd/flowserver  
-  frontend:
-    image: node:6
-    commands:
-      - cd browser/vue-flow 
-      - yarn 
-      - yarn build
-
-
   rebuild-cache:
     image: drillster/drone-volume-cache
     rebuild: true
@@ -45,6 +44,7 @@ pipeline:
     # Mount the cache volume, needs "Trusted"
     volumes:
       - /tmp/cache:/cache
+
   deploy:
     image: docker
     when: