Getting started with GitHub Actions
To use turborepo caching, you can simply add Namespace’ssetup-turbocache to your workspace:
Configuration
By default, caching is performed to a single shared storagemain. But you can isolate your caches by specifying a separate team (in turbo parlance):
Using from your local workstation
You can also use Namespace’s turborepo cache from your local machine. Since the cache is shared, local builds benefit from artifacts already cached by CI — and vice versa. First, install the Namespace CLI. Then create a token with access to turborepo:TURBO_TEAM can be any string, and can be used to split caches between different projects.
Alternatively, you can run:
turbo.json.
Usage
Namespace accounts Turborepo cache usage in two categories:- Turborepo cache storage
- Turborepo cache reads