circleci config setup npm cache

This commit is contained in:
BryceLTaylor 2020-10-30 17:18:40 -04:00
parent beba1638df
commit 4277567a03

View file

@ -8,7 +8,17 @@ aliases:
username: $DOCKERHUB_USERNAME username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD password: $DOCKERHUB_PASSWORD
working_directory: ~/repo working_directory: ~/repo
- &save_npm_cache
save_cache:
paths:
- node_modules
keys:
v1-npm-{{ checksum "package-lock.json" }}
- restore_npm_cache
restore_cache:
keys:
- v1-npm-{{ checksum "package-lock.json" }}
- v1-npm-
jobs: jobs:
setup: setup:
<<: *defaults <<: *defaults