Skip to content

Commit

Permalink
Update dependency caching config
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Jul 5, 2018
1 parent 08f0ecb commit d63fffd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Expand Up @@ -7,13 +7,14 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- node-v1-{{ .Branch }}-{{ checksum "package-lock.json" }}
- node-v1-{{ .Branch }}-
- node-v1-
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
key: node-v1-{{ .Branch }}-{{ checksum "package-lock.json" }}
- run: npm run build && git diff --exit-code -- :^package-lock.json
- run: npm test -- --browsers ChromeHeadless,Firefox
- run: test -z "$CIRCLE_PULL_REQUEST" && ./node_modules/.bin/codecov

0 comments on commit d63fffd

Please sign in to comment.