multica/turbo.json
Jiayuan Zhang 8c51cf9f9a ci: add test step to CI pipeline
Add test task to turbo.json and include it in the build-and-typecheck
job. Turbo handles the dependency graph: builds deps first, then runs
typecheck and test in parallel for each package.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 02:03:33 +08:00

31 lines
811 B
JSON

{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["tsconfig.json", "tsconfig.base.json"],
"globalEnv": ["API_URL"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": ["src/**", "package.json", "tsconfig.json"],
"outputs": ["dist/**"]
},
"dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"typecheck": {
"dependsOn": ["^build"],
"inputs": ["src/**", "package.json", "tsconfig.json"],
"outputs": []
},
"test": {
"dependsOn": ["^build"],
"inputs": ["src/**", "package.json", "tsconfig.json", "vitest.config.*"],
"outputs": []
},
"lint": {
"inputs": ["src/**", "package.json", "eslint.config.*", ".eslintrc.*"],
"outputs": []
}
}
}