Skip to content

Commit

Permalink
Fixed cache issue with checksum calculation (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayg10 authored Jun 24, 2020
1 parent 848404a commit c9db65f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
command: cd $(npm root -g)/npm
- run:
name: Install interledgerjs/five-bells-ledger-api-tests
command: npm install github:interledgerjs/five-bells-ledger-api-tests
command: npm install --no-save github:interledgerjs/five-bells-ledger-api-tests
- run:
name: Update NPM install
command: npm install
Expand All @@ -96,7 +96,6 @@ jobs:
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
- dependency-cache-
- run:
name: Create dir for test results
command: mkdir -p ./test/results
Expand Down Expand Up @@ -128,7 +127,6 @@ jobs:
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
- dependency-cache-
- run:
name: Execute code coverage check
command: npm -s run test:coverage
Expand All @@ -153,7 +151,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "CACHE_VERSION.txt" }}-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: Create dir for test results
command: mkdir -p ./test/results
Expand All @@ -176,7 +174,6 @@ jobs:
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
- dependency-cache-
- run:
name: Create dir for test results
command: mkdir -p ./audit/results
Expand All @@ -199,7 +196,6 @@ jobs:
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
- dependency-cache-
- run:
name: Prune non-production packages before running license-scanner
command: npm prune --production
Expand Down

0 comments on commit c9db65f

Please sign in to comment.