Skip to content

Commit

Permalink
Bump cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl committed Dec 31, 2024
1 parent f7d2b69 commit ed2877c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ed2877c

Please sign in to comment.