Found a few wins for caching in GitHub Actions:
- Cache npm/yarn/pnpm folders per branch
- Use
restore-keys
for fallback matching
- Avoid cache bloat by pruning often
Small tweaks cut build times from 3m → 45s. Worth the setup!
restore-keys
for fallback matching