I’m building a NextJS app and it takes ~6min to build entire thing, including almost 2 min to reinstall the old dependencies even when the
yarn.lock hasn’t changed.
Is there a way to specify that I want to cache dependencies (e.g. node_modules and
.next/cache – Advanced Features: CI Build Caching | Next.js)?