Skip to content

Commit

Permalink
Add circleci cache
Browse files Browse the repository at this point in the history
  • Loading branch information
vincemtnz committed Dec 11, 2017
1 parent 3f1257b commit 4507d3c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
- checkout

# Download and cache dependencies
# - restore_cache:
# keys:
# - v1-dependencies-{{ checksum "package-lock.json" }}
# # fallback to using the latest cache if no exact match is found
# - v1-dependencies-
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: npm install

# - save_cache:
# paths:
# - node_modules
# key: v1-dependencies-{{ checksum "package-lock.json" }}
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package-lock.json" }}

- run: npm run ci:test
- run: npm run ci:coveralls
Expand Down

0 comments on commit 4507d3c

Please sign in to comment.