4 ms·
Instead of caching node_modules, cache node_modules.tar.szt Then wrap your job in a untar/tar: tar --use-compress-program zstd -xf node_modules.tar.zst ||
by latch 6y ago
Instead of caching node_modules, cache node_modules.tar.szt
Then wrap your job in a untar/tar:
tar --use-compress-program zstd -xf node_modules.tar.zst || true
YOUR NORMAL JOB
tar --use-compress-program zstd -cf node_modules.tar.zst node_modules
(and you can delete things you don't need if you want)
- Already__Taken 6y agoThat's weird won't these all be docker layers somewhere in the guts? So it's already compressed.