Repository navigation
Commit 9d6f1a2
committed
ci: stop caching node_modules on a sticky disk
Drop the root node_modules sticky disk and the pnpm version resolution
that only existed to build its cache key. A warm disk saved roughly
twenty seconds of pnpm install, while mounting cost five to forty-five
seconds per job (and occasionally failed outright), every job committed
a snapshot even when nothing ran pnpm, and the per-GB-billed disk grew
to tens of gigabytes despite node_modules holding about 500 MB of
files. Installing from the registry on each run is cheaper and simpler.
The Nix store sticky disk stays; that one caches multi-gigabyte build
closures that are genuinely expensive to recreate.1 parent 877804c commit 9d6f1a2
1 file changed
Lines changed: 1 addition & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
| |||
44 | 38 | | |
45 | 39 | | |
46 | 40 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
0 commit comments