mirror of
https://github.com/pnpm/action-setup.git
synced 2024-12-23 08:26:29 +08:00
Merge pull request #14 from Jack-Works-forks/master
Update README: use lockfile hash instead of package.json hash
This commit is contained in:
commit
74a0fdc1a4
|
@ -104,7 +104,7 @@ jobs:
|
||||||
cache-name: cache-pnpm-modules
|
cache-name: cache-pnpm-modules
|
||||||
with:
|
with:
|
||||||
path: ~/.pnpm-store
|
path: ~/.pnpm-store
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
|
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user