diff --git a/.circleci/config.yml b/.circleci/config.yml index a6662a2f3..645e1d31a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,14 +10,14 @@ commands: # Download and cache dependencies - restore_cache: keys: - - v1-dependencies-{{ checksum "package.json" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- + - v3-node-14-{{ checksum "package-lock.json" }} + # fallback to use the latest cache from the same node version if no exact match is found + - v3-node-14- - run: npm install - save_cache: paths: - node_modules - key: v1-dependencies-{{ checksum "package.json" }} + key: v3-node-14-{{ checksum "package-lock.json" }} deploy-to-aws: description: "Deploys the dist directory to a given subdirectory of the answers bucket" parameters: