mirror of
https://github.com/actions/cache.git
synced 2025-04-23 14:30:49 +00:00
Add node_modules to the list of cached resources (pnpm)
Caching `node_modules` allows to make the `pnpm install` step instantaneous
This commit is contained in:
parent
107a4cb2c9
commit
e496d23e27
1 changed files with 1 additions and 0 deletions
|
@ -288,6 +288,7 @@ The yarn cache directory will depend on your operating system and version of `ya
|
||||||
path: |
|
path: |
|
||||||
~/.pnpm-store
|
~/.pnpm-store
|
||||||
D:\.pnpm-store
|
D:\.pnpm-store
|
||||||
|
**/node_modules
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}
|
${{ runner.os }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue