It would be nice to choose a single cache-definitions with provided Glob selection.
The current solution looks like this:
pipelines: default: - step: caches: - root - service-graphql - service-integrations - service-logging definitions: caches: root: node_modules service-graphql: services/graphql/node_modules service-integrations: services/integrations/node_modules service-logging: services/logging/node_modules
A more convenient solution would be to use globs as dynamic caching definitions. This is cleaner and the developer does't need to maintain the file each time a new service is added to the project.
pipelines: default: - step: caches: - root - services definitions: caches: root: node_modules services: services/*/node_modules