ci: increase the change of cache hits
See https://circleci.com/docs/2.0/caching/#restoring-cache
This commit is contained in:
parent
bd1a2caad9
commit
9a18f40720
1 changed files with 8 additions and 2 deletions
|
@ -13,7 +13,10 @@ defaults: &defaults
|
|||
bundle_restore_cache: &bundle_restore_cache
|
||||
restore_cache:
|
||||
name: Restore Bundler Package Cache
|
||||
key: bundle-install-v9-{{ arch }}-{{ checksum "Gemfile.lock" }}
|
||||
keys:
|
||||
- bundle-install-v9-{{ arch }}-{{ checksum "Gemfile.lock" }}
|
||||
- bundle-install-v9-{{ arch }}
|
||||
- bundle-install-v9
|
||||
|
||||
bundle_save_cache: &bundle_save_cache
|
||||
save_cache:
|
||||
|
@ -30,7 +33,10 @@ bundle_install: &bundle_install
|
|||
yarn_restore_cache: &yarn_restore_cache
|
||||
restore_cache:
|
||||
name: Restore Yarn Package Cache
|
||||
key: yarn-install-v3-{{ arch }}-{{ checksum "yarn.lock" }}
|
||||
keys:
|
||||
- yarn-install-v3-{{ arch }}-{{ checksum "yarn.lock" }}
|
||||
- yarn-install-v3-{{ arch }}
|
||||
- yarn-install-v3
|
||||
|
||||
yarn_save_cache: &yarn_save_cache
|
||||
save_cache:
|
||||
|
|
Loading…
Reference in a new issue