clean turbo config and cache github actions (#1805)

* refactor: turbo scripts

refactor dev and build scripts

remove cleanup

* fix e2e script

* cache playwright

* cache pnpm

* fix docker env in vite

* fixup! refactor: turbo scripts

* chore: add comment
This commit is contained in:
Alex Christoffer Rasmussen
2025-10-07 12:10:24 +02:00
parent 750927dc8d
commit fc7ed6bd20
30 changed files with 266 additions and 227 deletions
+27 -27
View File
@@ -1,12 +1,21 @@
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NODE_ENV", "GITHUB_TOKEN", "APPLEID", "APPLEIDPASS", "TEAMID", "CSC_KEY_PASSWORD", "CSC_LINK"],
"globalEnv": [
"NODE_ENV",
"GITHUB_TOKEN",
"APPLEID",
"APPLEIDPASS",
"TEAMID",
"CSC_KEY_PASSWORD",
"CSC_LINK",
"SENTRY_AUTH_TOKEN"
],
"tasks": {
"dev": {
"cache": false,
"persistent": true
},
"dev:server": {
"dev:electron": {
"cache": false,
"persistent": true
},
@@ -14,45 +23,36 @@
"cache": false,
"persistent": true
},
"dev:test": {
"cache": false
},
"test": {},
"test:pipeline": {},
"lint": {
"cache": false
"dependsOn": ["^lint"]
},
"typecheck": {
"cache": false
"dependsOn": ["^typecheck"]
},
"build": {
"dependsOn": [
"^build"
],
"env": ["SENTRY_AUTH_TOKEN"]
},
"build:local": {},
"build:electron": {
"env": ["SENTRY_AUTH_TOKEN"]
},
"build:localdocker": {},
"e2e": {
"dependsOn": [
"^build"
]
"dependsOn": ["^build"],
"outputs": ["dist/**", "build/**"]
},
"dist-win": {
"dependsOn": ["build"]
"dependsOn": ["build"],
"outputs": ["dist/**"]
},
"dist-mac": {
"dependsOn": ["build"]
"dependsOn": ["build"],
"outputs": ["dist/**"]
},
"dist-mac:local": {
"dependsOn": ["build"]
"dependsOn": ["build"],
"outputs": ["dist/**"]
},
"dist-linux": {
"dependsOn": ["build"]
},
"cleanup": {}
"dependsOn": ["build"],
"outputs": ["dist/**"]
}
}
}