Before the introduction of Yarn by Facebook in October 2016, NPM dominated as the primary package manager for Node.js, but Yarn quickly gained traction due to its enhancements addressing some of NPM's limitations. Yarn improved upon NPM by offering faster installation times through parallelization and caching, and by ensuring deterministic results in package versioning with its yarn.lock file, as opposed to NPM's shrinkwrap approach which relied on developer maintenance. In continuous integration (CI) environments, both NPM and Yarn face challenges with caching dependencies across multiple servers, a problem that can be partly mitigated by employing Docker's caching capabilities. Codefresh, a platform designed to streamline Docker-based CI flows, offers a solution to these issues by using shared volumes to persist dependencies across different CI flows, thereby enhancing efficiency. To evaluate the performance between NPM and Yarn, Codefresh provides tools and documentation that facilitate testing within its platform.