Skip to content

Commit

Permalink
ci: only restore caches with checksums, avoid weird caching issues
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Dec 14, 2018
1 parent e3ca74e commit be56537
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-vue-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1-vue-cli-{{ .Branch }}-
- v1-vue-cli
- v2-vue-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
- run: yarn --network-timeout 600000
- save_cache:
key: v1-vue-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
key: v2-vue-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- ~/.cache
Expand Down

0 comments on commit be56537

Please sign in to comment.