My project is a node project using yarn
to manage npm dependencies.
In my CI azure pipeline, I have multiple jobs, all of which require running yarn
to install npm dependencies. Because the number of dependencies is quite large, it takes almost 4 minutes to finish installing them.
I have tried using pipeline artifact to share the node_modules
folder between them, but it took the same amount of time (or even slower) to publish and download the artifact between jobs.
I wonder if there's an efficient way to share large data between pipeline jobs as in this case?