mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 23:57:55 -05:00
circleci config setup npm cache
This commit is contained in:
parent
beba1638df
commit
4277567a03
1 changed files with 11 additions and 1 deletions
|
@ -8,7 +8,17 @@ aliases:
|
|||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
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:
|
||||
setup:
|
||||
<<: *defaults
|
||||
|
|
Loading…
Reference in a new issue