mirror of
https://github.com/actions/setup-node.git
synced 2025-09-11 03:06:17 +00:00
Enhance caching in setup-node with package manager filed detection
This commit is contained in:
parent
1c26a09e00
commit
674c3e93f9
6 changed files with 186 additions and 4 deletions
|
@ -23,6 +23,9 @@ inputs:
|
|||
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
|
||||
cache:
|
||||
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.'
|
||||
package-manager-cache:
|
||||
description: 'Set to false to disable automatic caching based on the package manager field in package.json. By default, caching is enabled if the package manager field is present.'
|
||||
default: true
|
||||
cache-dependency-path:
|
||||
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
|
||||
mirror:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue