@rharkor/caching-for-turbo 2.2.3 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/cli/index.js +1343 -209
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,7 +52,10 @@ approaches to the same problem.
|
|
|
52
52
|
|
|
53
53
|
### GitHub Actions Built-in Cache
|
|
54
54
|
|
|
55
|
-
Turborepo's
|
|
55
|
+
Turborepo's
|
|
56
|
+
[official documentation](https://turborepo.com/docs/guides/ci-vendors/github-actions#remote-caching-with-github-actionscache)
|
|
57
|
+
also mentions using GitHub Actions' built-in cache directly. Here's how our
|
|
58
|
+
approach compares:
|
|
56
59
|
|
|
57
60
|
**GitHub Actions Built-in Cache Approach**
|
|
58
61
|
|
|
@@ -70,19 +73,23 @@ Turborepo's [official documentation](https://turborepo.com/docs/guides/ci-vendor
|
|
|
70
73
|
### When to Choose Each Approach
|
|
71
74
|
|
|
72
75
|
**Choose GitHub Actions Built-in Cache when:**
|
|
76
|
+
|
|
73
77
|
- You want the simplest possible setup
|
|
74
78
|
- You're only using GitHub Actions for CI
|
|
75
79
|
- You don't need advanced cache management features
|
|
76
80
|
- You're satisfied with GitHub's cache storage limitations
|
|
77
81
|
|
|
78
82
|
**Choose This Action when:**
|
|
83
|
+
|
|
79
84
|
- You need more granular cache control
|
|
80
85
|
- You want to use S3 or other storage backends
|
|
81
86
|
- You need advanced cleanup and retention policies
|
|
82
87
|
- You want to use the same caching infrastructure locally and in CI
|
|
83
88
|
- You have a large monorepo where modular caching provides benefits
|
|
84
89
|
|
|
85
|
-
Both approaches are valid and serve different use cases. The built-in cache
|
|
90
|
+
Both approaches are valid and serve different use cases. The built-in cache
|
|
91
|
+
approach is simpler and has been available for a long time, while this action
|
|
92
|
+
provides more flexibility and features.
|
|
86
93
|
|
|
87
94
|
## Quick Start
|
|
88
95
|
|