Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
ci(circle): Generate checksum from lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens committed Dec 20, 2017
1 parent 5aeba3e commit 4a62cd5
Show file tree
Hide file tree
Showing 3 changed files with 9,497 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ unit_tests: &unit_tests
- checkout
- setup_remote_docker
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: NPM Rebuild
command: npm rebuild
Expand All @@ -15,7 +15,7 @@ canary_tests: &canary_tests
- checkout
- setup_remote_docker
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: NPM Rebuild
command: npm rebuild
Expand All @@ -35,12 +35,12 @@ jobs:
- checkout
- setup_remote_docker
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Install Dependencies
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules

Expand All @@ -51,7 +51,7 @@ jobs:
- checkout
- setup_remote_docker
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: NPM Rebuild
command: npm rebuild
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- checkout
- setup_remote_docker
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: NPM Rebuild
command: npm rebuild
Expand All @@ -101,7 +101,7 @@ jobs:
- checkout
- setup_remote_docker
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: NPM Rebuild
command: npm rebuild
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

Loading

0 comments on commit 4a62cd5

Please sign in to comment.