mirror of
https://github.com/actions/setup-node.git
synced 2025-06-28 21:53:48 +00:00
Cache fallback with rolling time based expiration
This commit is contained in:
parent
c2ac33f2c6
commit
f01118b9a5
6 changed files with 40 additions and 17 deletions
|
@ -126,6 +126,8 @@ The action defaults to search for the dependency file (`package-lock.json`, `npm
|
|||
|
||||
**Note:** The action does not cache `node_modules`
|
||||
|
||||
Use `cache-invalidate-after-days` to change the default fallback cache invalidation of every 120 days. Set to 0 to deactivate.
|
||||
|
||||
See the examples of using cache for `yarn`/`pnpm` and `cache-dependency-path` input in the [Advanced usage](docs/advanced-usage.md#caching-packages-data) guide.
|
||||
|
||||
**Caching npm dependencies:**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue