Skip to content

Commit

Permalink
chore(ci): introduce caching around npm install step
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts committed Mar 26, 2024
1 parent eee1ec5 commit 1abbd95
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -861,9 +861,19 @@ jobs:
executor: docker-amd64
steps:
- checkout
- restore_cache:
name: Restore npm cache
keys:
- prepare-build-npm-deps-{{ checksum "package-lock.json" }}
- prepare-build-npm-deps
- run:
name: Installing dependencies
command: npm ci
command: npm ci --no-audit --no-progress --cache .npm --prefer-offline
- save_cache:
name: Save npm cache
key: prepare-build-npm-deps-{{ checksum "package-lock.json" }}
paths:
- .npm
- run:
name: Set version
command: |
Expand Down

0 comments on commit 1abbd95

Please sign in to comment.