Skip to content

Commit

Permalink
Checksum package-lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
cblanc committed Jun 8, 2018
1 parent 7c7eeb0 commit 8cb2967
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,42 @@ jobs:
- checkout
- restore_cache:
keys:
- npm-deps-{{ checksum "package.json" }}
- npm-deps-{{ checksum "package-lock.json" }}
- run: npm install
- save_cache:
key: npm-deps-{{ checksum "package.json" }}
key: npm-deps-{{ checksum "package-lock.json" }}
paths:
- node_modules/
- run: npm test
- run: npm run coverage

node8:
docker:
- image: circleci/node:8

steps:
- checkout
- restore_cache:
keys:
- npm-deps-{{ checksum "package.json" }}
- npm-deps-{{ checksum "package-lock.json" }}
- run: npm install
- save_cache:
key: npm-deps-{{ checksum "package.json" }}
key: npm-deps-{{ checksum "package-lock.json" }}
paths:
- node_modules/
- run: npm test
- run: npm run coverage

node10:
docker:
- image: circleci/node:10

steps:
- checkout
- restore_cache:
keys:
- npm-deps-{{ checksum "package.json" }}
- npm-deps-{{ checksum "package-lock.json" }}
- run: npm install
- save_cache:
key: npm-deps-{{ checksum "package.json" }}
key: npm-deps-{{ checksum "package-lock.json" }}
paths:
- node_modules/
- run: npm test
Expand Down

0 comments on commit 8cb2967

Please sign in to comment.