From f13dda0eec1e6c89fbc6aa21affe814320bc0f67 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sun, 13 Sep 2020 16:45:11 +0900 Subject: [PATCH] Use yarn.lock to generate cache key in circleci --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f46b59e9..aef1b221 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,13 +14,13 @@ jobs: - restore_cache: name: Restoring cache - node_modules keys: - - node_modules-{{ arch }}-node12.13.1-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }} + - node_modules-{{ arch }}-node12.13.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }} - run: name: Install packages command: npm install - save_cache: name: Saving cache - node_modules - key: node_modules-{{ arch }}-node12.13.1-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }} + key: node_modules-{{ arch }}-node12.13.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }} paths: - node_modules - run: