rharkor/Caching for Turborepo
Sets up Turborepo Remote Caching to work with GitHub Actions built-in cache. No Vercel account access tokens needed.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| provider | Provider to use for caching (github, s3) | yes | github |
| cache-prefix | Prefix for the cache key | no | turbogha_ |
| use-relative-cache-path | Use a relative archive path for the GitHub cache provider so cache versions can match across runners with different temporary directories | no | false |
| max-age | Cleanup cache files older than this age (ex: 1mo, 1w, 1d). using https://www.npmjs.com/package/parse-duration | no | — |
| max-files | Cleanup oldest cache files when number of files exceeds this limit (ex: 300) | no | — |
| max-size | Cleanup oldest cache files when total size exceeds this limit (ex: 100mb, 10gb) | no | — |
| s3-access-key-id | AWS S3 access key ID | no | — |
| s3-secret-access-key | AWS S3 secret access key | no | — |
| s3-session-token | AWS S3 session token (optional, only required for temporary credentials e.g. OIDC authentication) | no | — |
| s3-bucket | AWS S3 bucket name | no | — |
| s3-region | AWS S3 region | no | — |
| s3-prefix | Prefix for S3 objects | no | turbogha/ |
| s3-endpoint | S3 endpoint (required when provider is s3) | no | https://s3.amazonaws.com |
| server-port | Port for the caching server. Use 0 for automatic port assignment to avoid EADDRINUSE conflicts on shared runners (default: 41230) | no | 41230 |
Outputs
no outputs