|
|
@ -105,7 +105,7 @@ For npm, cache files are stored in `~/.npm` on Posix, or `%AppData%/npm-cache` o
|
|
|
|
echo "::set-output name=dir::$(npm config get cache)"
|
|
|
|
echo "::set-output name=dir::$(npm config get cache)"
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ${{ steps.composer-cache.outputs.dir }}
|
|
|
|
path: ${{ steps.npm-cache.outputs.dir }}
|
|
|
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
|
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
|
|
restore-keys: |
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-node-
|
|
|
|
${{ runner.os }}-node-
|
|
|
|