Cache fallback with rolling time based expiration

This commit is contained in:
Pelle Wessman 2024-03-13 21:15:09 +01:00
parent c2ac33f2c6
commit f01118b9a5
No known key found for this signature in database
6 changed files with 40 additions and 17 deletions

View file

@ -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:**