Restore cache of sub project



Is it possible to store cache for sub-projects? This is my config.yml:

version: 2
        machine: true
        working_directory: ~/komed-health
            - checkout
            - restore_cache:
                key: dependency-cache-{{ checksum "package.json" }}
            - run: npm install
            - save_cache:
                key: dependency-cache-{{ checksum "package.json" }}
                    - ./node_modules
            - run:
                name: Start containers
                command: |
                    cd .docker
                    set -x
                    docker-compose up -d
            - run:
                name: Clone komed health web project and initialize it
                command: |
                    cd ../
                    git clone
                    cd komed-health-web
                    npm install --production
            - run:
                name: Run integration tests
                command: npm run test-integration

As you can see I am cloning another project (BorntraegerMarc/komed-health-web) into the existing CI build and running npm install on that project as well. Can I save the cache from this new project as well somehow?

closed #2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.