Skip to content

Commit

Permalink
update circle cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
bushjames committed Aug 28, 2019
1 parent 4739629 commit bf461e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
name: Delete build dependencies
command: apk del build-dependencies
- save_cache:
key: dependency-cache-1-{{ checksum "src/package.json" }}
key: dependency-cache-2-{{ checksum "src/package.json" }}
paths:
- src/node_modules

Expand All @@ -122,10 +122,10 @@ jobs:
<<: *defaults_environment
- restore_cache:
keys:
- dependency-cache-1-{{ checksum "src/package.json" }}
- dependency-cache-2-{{ checksum "src/package.json" }}
- run:
name: Create dir for test results
command: mkdir -p ./src/test/results
command: cd src && mkdir -p ./test/results
- run:
name: Execute unit tests
command: cd src && npm run test > ./test/results/results.txt
Expand Down

0 comments on commit bf461e6

Please sign in to comment.