From 7e5e27a6aa5f07037c6b8b23a3e49afc30008937 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 23 Aug 2020 19:57:05 +0200 Subject: [PATCH] chore: fix yarn caching on circle ci (#10440) --- .circleci/config.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6df4345cca52..d20d4504d975 100644 --- a/.circleci/config.yml +++ b/.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: