From ed2877ccfbb03dd6633044521d426bd1a05ab485 Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Tue, 31 Dec 2024 12:02:54 +0000 Subject: [PATCH] Bump cache key --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4ab1e1ee..5af5ace0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,12 +31,12 @@ jobs: name: Update npm command: 'sudo npm install -g npm@10' - restore_cache: - key: dependency-cache-{{ checksum "package-lock.json" }} + key: dependency-cache-v2-{{ checksum "package-lock.json" }} - run: name: Install Dependencies command: npm ci --no-audit - save_cache: - key: dependency-cache-{{ checksum "package-lock.json" }} + key: dependency-cache-v2-{{ checksum "package-lock.json" }} paths: - node_modules - ~/.cache @@ -61,7 +61,7 @@ jobs: steps: - checkout - restore_cache: - key: dependency-cache-{{ checksum "package-lock.json" }} + key: dependency-cache-v2-{{ checksum "package-lock.json" }} - run: name: unit tests command: npm run test:ci @@ -82,7 +82,7 @@ jobs: name: Install missing OS dependency command: sudo apt-get install libxss1 - restore_cache: - key: dependency-cache-{{ checksum "package-lock.json" }} + key: dependency-cache-v2-{{ checksum "package-lock.json" }} - run: name: Run the node app. command: npm run start-feature