Implement Turborepo to include Build Caching in CI/CD

This commit is contained in:
Amruth Pillai
2023-06-07 19:50:48 +02:00
parent d4b6c16bf9
commit 0173ce32c3
88 changed files with 202 additions and 107 deletions

17
turbo.json Normal file
View File

@ -0,0 +1,17 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"lint": {},
"format": {
"dependsOn": ["^lint"]
},
"dev": {
"cache": false,
"persistent": true
}
}
}