Files
medusa-store/.github/actions/cache-deps/action.yml
Adrien de Peretti 25634b0382 test(): test dynamic max workers and improve CI (#13516)
* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* Clarify test description and improve CI
2025-09-16 11:11:03 +02:00

23 lines
646 B
YAML

name: cache-deps
description: Creates a cache with the given extension for monorepo dependencies
inputs:
extension:
description: Extension for cache name
runs:
using: composite
steps:
- uses: actions/cache@v4
id: cache
with:
path: |
.yarn/cache
key: ${{ runner.os }}-yarn-${{inputs.extension}}-v8-${{ hashFiles('**/yarn.lock') }}-3
restore-keys: |
${{ runner.os }}-yarn-${{inputs.extension}}-v8-3
# We want to only bootstrap and install if no cache is found.
- run: yarn install --immutable --inline-builds
shell: bash
- run: yarn build
shell: bash