From 8d5a5d52dfcea0e15ed8cc778a8fd7c74a7eee82 Mon Sep 17 00:00:00 2001 From: Alexander Soong Date: Sun, 15 Jul 2018 15:26:18 -0700 Subject: [PATCH] Remove branch name from dependency cache --- .circleci/config.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6132e8b04..d7458c09e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,17 +8,17 @@ jobs: steps: - checkout - restore_cache: - key: module-cache-{{ .Branch }}-{{ checksum "yarn.lock" }} + key: module-cache-{{ checksum "yarn.lock" }} - run: name: Fetch Dependencies command: yarn install - - run: - name: Transpile Contracts - command: yarn prepare-test - save_cache: - key: module-cache-{{ .Branch }}-{{ checksum "yarn.lock" }} + key: module-cache-{{ checksum "yarn.lock" }} paths: - node_modules + - run: + name: Transpile Contracts + command: yarn prepare-test - save_cache: key: compiled-env-{{ .Environment.CIRCLE_SHA1 }} paths: @@ -72,4 +72,3 @@ workflows: - coverage: requires: - checkout_and_compile -