I've got a monorepo which uses Lerna to publish to NPM. - root - packages/componentB - packages/componentA - packages/all-components I want to avoid building every single component everytime and thought can I not store the packages/compoent/dist in cache but when i set the path: image: node:20 definitions: caches:…
We have one project that is using a lerna mono-repo structure. For this I not only want to cache the top level dependencies, but also the package dependencies. For this I need to be able to use a wildcard in the cache path such as: definitions: caches: lerna: packages/*/node_modules
So I have a "lerna" monorepo. i can cached the main "node_modules" in the root directory using "caches: - node" but when i run "lerna bootstrap" to install the inner node_modules ("/packages/((some_package))/node_modules") it is not cached.
It looks like you're new here. Sign in or register to get started.