Skip to content

feat: introduce turborepo for build/test caching - #39

Merged
Gaubee merged 6 commits into
mainfrom
feat/turborepo
Dec 22, 2025
Merged

Gaubee merged 6 commits into
mainfrom
feat/turborepo

Conversation

@Gaubee

@Gaubee Gaubee commented Dec 22, 2025

Copy link
Copy Markdown
Contributor

Summary

Introduce Turborepo to improve build and test performance through caching.

Changes

  • Add turbo as dev dependency
  • Configure turbo.json with tasks: typecheck, test, i18n:check, e2e:all, build
  • Add packageManager field to package.json
  • Add turbo:* convenience scripts

Performance Improvement

Scenario Time
First run (no cache) ~35s
Cached run ~1.5s
Speed improvement ~23x faster

Usage

# Run typecheck + test with turbo caching
pnpm turbo:check

# Individual tasks
pnpm turbo:test
pnpm turbo:typecheck
pnpm turbo:i18n

Next Steps

  • Consider enabling Turborepo Remote Caching for CI/CD
  • Extend to build tasks once validated

- Add scripts/e2e.ts as entry point requiring spec file selection
- Rename e2e to e2e:all for running all tests
- Add i18n check job to CI workflow
- Add turbo as dev dependency
- Configure turbo.json with tasks: typecheck, test, i18n:check, e2e:all, build
- Add packageManager field to package.json
- Add turbo:* convenience scripts

Performance improvement:
- First run (no cache): ~35s
- Cached run: ~1.5s
- Speed improvement: ~23x faster for unchanged code
@Gaubee
Gaubee merged commit baa0e10 into main Dec 22, 2025
7 checks passed
@Gaubee
Gaubee deleted the feat/turborepo branch January 4, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant