CircleCI Ideas

Support wildcards in `save_cache.paths`

With increased popularity of lerna / yarn workspaces monorepos, support for things like this seems to be a must:

- save_cache:
key: core-dependencies-{{ checksum "yarn.lock" }}
- node_modules
- packages/*/node_modules
  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 18 2018
  • Taking votes
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Mar 05:49

    It'd be nice to use a standard but capable format for this, maybe even the same conventions as .gitignore. It'd be very useful to flexibly select directories to cache for more complicated project setups.