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 authored 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
Original file line number Diff line number Diff line change
@@ -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.