Skip to content

Commit dac8cd9

Browse files
authored
ci: skip caching of node_modules (#200)
I have no idea why I originally did it this way but it makes no sense. - restore node_modules from cache (if any) - run `npm ci` - delete node_modules - recreate node_modules from scratch - save node_modules into cache The caching is completely pointless as it's restored just to be deleted right away. It just wastes about a minute of time per workflow.
1 parent c985d51 commit dac8cd9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.circleci/config.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,8 @@ jobs:
3939
steps:
4040
- checkout
4141

42-
# Download and cache dependencies
43-
- restore_cache:
44-
keys:
45-
- v1-dependencies-{{ checksum "package.json" }}
46-
# fallback to using the latest cache if no exact match is found
47-
- v1-dependencies-
48-
4942
- run: npm ci
5043

51-
- save_cache:
52-
paths:
53-
- node_modules
54-
key: v1-dependencies-{{ checksum "package.json" }}
55-
5644
- persist_to_workspace:
5745
root: .
5846
paths:

0 commit comments

Comments
 (0)