]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
ci: try
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 Apr 2020 14:09:29 +0000 (16:09 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 1 May 2020 08:04:36 +0000 (10:04 +0200)
circle.yml

index a0af04fa6317949ef3e747e1b27cf41ebd02b7e2..caa6ffd0497f7dfe00f2360670410029daac22f5 100644 (file)
@@ -29,14 +29,26 @@ jobs:
           paths:
             - vue-router
 
+  save-cache:
+    <<: *defaults
+    steps:
+      - attach_workspace:
+          at: ~/project
+      - save_cache:
+          key: v1-dependencies-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
+          paths:
+            - node_modules
+
   build-e2e:
     <<: *defaults
     steps:
       - attach_workspace:
           at: ~/project
       - run: yarn run build:e2e
-      - store_artifacts:
-          path: e2e/__build__
+      - persist_to_workspace:
+          root: ~/project
+          paths:
+            - vue-router/e2e/__build__
 
   test-unit:
     <<: *defaults
@@ -53,8 +65,6 @@ jobs:
       - attach_workspace:
           at: ~/project
       - run: yarn test:e2e
-      - store_artifacts:
-          path: coverage
 
   build-lint:
     <<: *defaults
@@ -96,3 +106,6 @@ workflows:
       - coverage:
           requires:
             - test-unit
+      - save-cache:
+          requires:
+            - test-e2e