Where I build and explore.
- Husky is used to run shell scripts on Git hooks
- Biome is used for formatting and linting of application code
- ✅ Fixes on Git
pre-commitvia Husky - ✅ Validates formatting and linting during CI
- ✅ Fixes on Git
tofu fmtis used for formatting and linting of OpenTofu IaC- ✅ Formats code on Git
pre-commitvia Husky - ✅ Validates formatting and linting during CI
- ✅ Formats code on Git
OpenTofu is an open-source fork of Terraform, used to manage infrastructure through version controlled configs.
The OpenTofu state (backend) is kept within a CloudFlare R2 bucket.
It is currently responsible for managing:
- The GitHub repo and environment variables
- Infra for its own backend
- Infra for the Turborepo Remote Cache
Turborepo is present but not yet integrated into package.json scripts or GitHub Actions, and I'm yet to properly configure turbo.json.
Turborepo has a Remote Cache deployed onto CloudFlare.
The deploy-turborepo-cache-yml workflow can be dispatched to deploy a new version of a custom Turborepo Remote Cache using CloudFlare functions:
https://github.com/AdiRishi/turborepo-remote-cache-cloudflare
OpenTofu outputs the relevant environment variables to be placed in .env:
TURBO_API=
TURBO_TEAM=team_foo
TURBO_TOKEN=