Bump yarn cache key version so that it uses the new disk layout we've adopted for using cimg/go. (#13420)

This commit is contained in:
Nick Cabatoff 2021-12-14 12:43:52 -05:00 committed by GitHub
parent c0b962ecfa
commit 6f99a410be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

8
.circleci/config.yml generated
View File

@ -13,7 +13,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: yarn-lock-v6-{{ checksum "ui/yarn.lock" }}
key: yarn-lock-v7-{{ checksum "ui/yarn.lock" }}
name: Restore yarn cache
- run:
command: |
@ -22,7 +22,7 @@ jobs:
npm rebuild node-sass
name: Install UI dependencies
- save_cache:
key: yarn-lock-v6-{{ checksum "ui/yarn.lock" }}
key: yarn-lock-v7-{{ checksum "ui/yarn.lock" }}
name: Save yarn cache
paths:
- ui/node_modules
@ -49,7 +49,7 @@ jobs:
working_directory: ~/
- checkout
- restore_cache:
key: yarn-lock-v6-{{ checksum "ui/yarn.lock" }}
key: yarn-lock-v7-{{ checksum "ui/yarn.lock" }}
name: Restore yarn cache
- attach_workspace:
at: .
@ -88,7 +88,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: yarn-lock-v6-{{ checksum "ui/yarn.lock" }}
key: yarn-lock-v7-{{ checksum "ui/yarn.lock" }}
name: Restore yarn cache
- attach_workspace:
at: .

View File

@ -2,7 +2,7 @@ restore_yarn_cache:
steps:
- restore_cache:
name: Restore yarn cache
key: &YARN_LOCK_CACHE_KEY yarn-lock-v6-{{ checksum "ui/yarn.lock" }}
key: &YARN_LOCK_CACHE_KEY yarn-lock-v7-{{ checksum "ui/yarn.lock" }}
save_yarn_cache:
steps:
- save_cache: