chore: test cache

This commit is contained in:
Zamitto 2024-10-11 15:29:46 -03:00
parent bf416e47b3
commit 9a699e082d

View File

@ -16,7 +16,9 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> $GITHUB_ENV
- run: echo $YARN_CACHE_DIR
- name: Cache node modules
id: cache-npm
@ -24,7 +26,7 @@ jobs:
env:
cache-name: cache-node-modules
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
path: ${{ env.YARN_CACHE_DIR }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-