mangs/mangs/super-cache-action
Simple GitHub Action that improves cache performance over actions/cache's recommendations for Node.js projects
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cache-key-suffix | String appended to the end of the auto-generated cache key that allows for cache key customization (e.g. separate development and production caches with the latter using `npm ci --production`) | no | "" |
| cache-targets | Single- or multi-line string wherein each line targets a resource to cache; can use globs | no | ./node_modules |
| package-manager | Package manager target for caching operations | no | npm |
Outputs
| name | description |
|---|---|
| cache-hit | A string containing either 'true' or 'false' indicating if 'cache-targets' were fetched from cache and applied to the current workflow run |