ci: save yarn cache after installing it
This commit is contained in:
parent
5755bdc836
commit
0ce1919cfb
1 changed files with 3 additions and 3 deletions
|
@ -30,12 +30,12 @@ bundle_install: &bundle_install
|
|||
yarn_restore_cache: &yarn_restore_cache
|
||||
restore_cache:
|
||||
name: Restore Yarn Package Cache
|
||||
key: yarn-install-v1-{{ arch }}-{{ checksum "yarn.lock" }}
|
||||
key: yarn-install-v2-{{ arch }}-{{ checksum "yarn.lock" }}
|
||||
|
||||
yarn_save_cache: &yarn_save_cache
|
||||
save_cache:
|
||||
name: Save Yarn Package Cache
|
||||
key: yarn-install-v1-{{ arch }}-{{ checksum "yarn.lock" }}
|
||||
key: yarn-install-v2-{{ arch }}-{{ checksum "yarn.lock" }}
|
||||
paths:
|
||||
- ~/.cache/yarn
|
||||
|
||||
|
@ -53,8 +53,8 @@ jobs:
|
|||
- *bundle_install
|
||||
- *bundle_save_cache
|
||||
- *yarn_restore_cache
|
||||
- *yarn_save_cache
|
||||
- *yarn_install
|
||||
- *yarn_save_cache
|
||||
test:
|
||||
<<: *defaults
|
||||
parallelism: 3
|
||||
|
|
Loading…
Reference in a new issue