From: Eduardo San Martin Morote Date: Thu, 2 Apr 2020 14:09:29 +0000 (+0200) Subject: ci: try X-Git-Tag: v4.0.0-alpha.10~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be7862a2ba2bb4ab48d45769203d887d6d111b5b;p=thirdparty%2Fvuejs%2Frouter.git ci: try --- diff --git a/circle.yml b/circle.yml index a0af04fa..caa6ffd0 100644 --- a/circle.yml +++ b/circle.yml @@ -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