From c9db65f3f8f82b26644d96b947e547e8758a3607 Mon Sep 17 00:00:00 2001 From: vijayg10 <33152110+vijayg10@users.noreply.github.com> Date: Thu, 25 Jun 2020 00:26:41 +0530 Subject: [PATCH] Fixed cache issue with checksum calculation (#310) --- .circleci/config.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fc439447..fd0a11ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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