perf: share Turbo cache across release worktrees

This commit is contained in:
2026-08-11 11:59:18 +00:00
parent c737ee2cd1
commit 3e938e17d6
10 changed files with 159 additions and 59 deletions
+5 -2
View File
@@ -1,17 +1,20 @@
{
"$schema": "https://turbo.build/schema.json",
"ui": "tui",
"globalPassThroughEnv": ["NODE_OPTIONS", "RAYON_NUM_THREADS"],
"tasks": {
"build": {
"dependsOn": ["^build", "typecheck"],
"env": ["NODE_ENV"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": ["dist/**"]
},
"typecheck": {
"dependsOn": ["^typecheck", "prisma:generate"],
"dependsOn": ["^build", "prisma:generate"],
"cache": true
},
"prisma:generate": {
"inputs": ["prisma/*.prisma"],
"inputs": ["$TURBO_DEFAULT$"],
"outputs": ["node_modules/.prisma/client/**", "prisma/generated/**"],
"cache": true
},