using wild cards in cache paths

simon February 24, 2025

I want to save a little bit of build time buy caching the node_modules of several subfolders in my project . Is this the right format.

```

image: node:18

clone: depth: full definitions:

caches:

node-modules-cache:

key: files: - "**/*"

path: src/sub-projects/**/node_modules/

steps: - step: &build-test name: Build and test caches: - node - node-modules-cache

```

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events