Skip to content

Commit be56537

Browse files
committed
ci: only restore caches with checksums, avoid weird caching issues
1 parent e3ca74e commit be56537

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.circleci/config.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ jobs:
1818
- checkout
1919
- restore_cache:
2020
keys:
21-
- v1-vue-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
22-
- v1-vue-cli-{{ .Branch }}-
23-
- v1-vue-cli
21+
- v2-vue-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
2422
- run: yarn --network-timeout 600000
2523
- save_cache:
26-
key: v1-vue-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
24+
key: v2-vue-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
2725
paths:
2826
- node_modules/
2927
- ~/.cache

0 commit comments

Comments
 (0)