From a875caa20cbe1ed3196ebb50e57f04190d6e6633 Mon Sep 17 00:00:00 2001 From: Bruno Barbieri Date: Fri, 6 Jul 2018 14:48:39 -0400 Subject: Fallback to using the latest cache if no exact match is found --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index 401e3b309..c9c827a1c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -101,7 +101,10 @@ jobs: steps: - checkout - restore_cache: - key: dependency-cache-{{ checksum "package-lock.json" }} + keys: + - dependency-cache-{{ checksum "package-lock.json" }} + # fallback to using the latest cache if no exact match is found + - dependency-cache- - run: name: Install deps via npm command: | -- cgit v1.2.3