Skip to content

Commit

Permalink
chore: fix yarn caching on circle ci (#10440)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Aug 23, 2020
1 parent a130fc3 commit 7e5e27a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .circleci/config.yml
@@ -1,14 +1,11 @@
aliases:
- &restore-cache
keys:
- v3-dependencies-{{ .Branch }}-{{ checksum "yarn.lock" }}
# Fallback in case checksum fails
- v3-dependencies-{{ .Branch }}-
key: v4-dependencies-{{ checksum "yarn.lock" }}

- &save-cache
paths:
- ~/.cache/yarn
key: v3-dependencies-{{ .Branch }}-{{ checksum "yarn.lock" }}
- ~/.yarn/berry/cache
key: v4-dependencies-{{ checksum "yarn.lock" }}

- &filter-ignore-gh-pages
branches:
Expand Down

0 comments on commit 7e5e27a

Please sign in to comment.