chore: Fix CI pipeline (#1839)
This commit is contained in:
8
.github/actions/cache-deps/action.yml
vendored
8
.github/actions/cache-deps/action.yml
vendored
@@ -10,14 +10,10 @@ runs:
|
||||
id: cache
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
*/*/node_modules
|
||||
.yarn/cache
|
||||
key: ${{ runner.os }}-yarn-${{inputs.extension}}-v8-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-${{inputs.extension}}-v8
|
||||
# We want to only bootstrap and install if no cache is found.
|
||||
- run: |
|
||||
if [[ "${{steps.cache.outputs.cache-hit}}" != "true" ]]; then
|
||||
yarn install --immutable
|
||||
fi
|
||||
- run: yarn install --immutable
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user