require cache only on the yarn.lock file

This commit is contained in:
Wyatt Johnson
2018-02-27 21:04:29 -07:00
parent 0bb61da860
commit 7c55088d9f
+2 -2
View File
@@ -41,14 +41,14 @@ jobs:
- attach_workspace:
at: ~/coralproject/talk
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: Install dependancies
command: |
yarn global add node-gyp &&
yarn install --frozen-lockfile
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- persist_to_workspace: