Skip to content

Commit ba3533a

Browse files
committed
chore: cache npm windows
1 parent 6b0319b commit ba3533a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,17 @@ jobs:
192192
- checkout_with_cache
193193
- install_node_npm:
194194
node_version: << parameters.node_version >>
195+
- restore_cache:
196+
keys:
197+
- v1-win-dependencies-{{ checksum "package.json" }}
198+
- v1-win-dependencies- # Fallback key for partial cache restoration
195199
- setup_npm_user
196200
- run: npm ci
201+
- save_cache:
202+
key: v1-win-dependencies-{{ checksum "package.json" }}
203+
paths:
204+
- node_modules
205+
197206
- run: docker version
198207
- run:
199208
name: Run Windows tests in parallel

0 commit comments

Comments
 (0)