docs: update README and action.yml for npm caching logic clarification

This commit is contained in:
Priyagupta108 2025-10-01 18:20:08 +05:30
parent 33371d09d4
commit 1ba05d5d30
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ inputs:
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. By default, caching is enabled when npm is the specified package manager in package.json.'
description: 'Set to false to disable automatic caching. By default, caching is enabled when either devEngines.packageManager or the top-level packageManager field in package.json specifies npm as the package manager.'
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.'