Skip to content

Commit 4f9bba4

Browse files
author
Guillaume Chau
committed
test(ci): fix yarn cache id
1 parent 73e970a commit 4f9bba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# Download and cache dependencies
2121
- restore_cache:
2222
keys:
23-
- v3-dependencies-{{ checksum "yarn.lock" }}
23+
- v3-dependencies-{{ checksum "yarn.lock" }}-{{ checksum "tests/demo/yarn.lock" }}-{{ checksum "tests/ssr/yarn.lock" }}
2424
# fallback to using the latest cache if no exact match is found
2525
- v3-dependencies-
2626

@@ -32,7 +32,7 @@ jobs:
3232
- tests/demo/node_modules
3333
- tests/ssr/node_modules
3434
- ~/.cache
35-
key: v3-dependencies-{{ checksum "yarn.lock" }}
35+
key: v3-dependencies-{{ checksum "yarn.lock" }}-{{ checksum "tests/demo/yarn.lock" }}-{{ checksum "tests/ssr/yarn.lock" }}
3636

3737
# run tests!
3838
- run: yarn build

0 commit comments

Comments
 (0)