Skip to content

Scheduling infrastructure for absolutely everyone.

fix: remove nested turbo run for copy-app-store-static to fix remote caching (#26270)

Keith Williamsc36165bcfd3a
diff --git a/apps/web/package.json b/apps/web/package.json
index 38a1deecd59..4bd8fd37e96 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -18,7 +18,7 @@
"sentry:release": "NODE_OPTIONS='--max-old-space-size=6144' node scripts/create-sentry-release.js",
"copy-static": "turbo run copy-app-store-static",
"copy-app-store-static": "node scripts/copy-app-store-static.js",
- "build": "turbo run copy-app-store-static && next build && yarn sentry:release",
+ "build": "next build && yarn sentry:release",
"start": "next start",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
diff --git a/turbo.json b/turbo.json
index 758593794ce..ea030b915ee 100644
--- a/turbo.json
+++ b/turbo.json
@@ -327,7 +327,7 @@
"outputs": ["./types"]
},
"@calcom/web#build": {
- "dependsOn": ["^build"],
+ "dependsOn": ["^build", "copy-app-store-static"],
"outputs": [".next/**"],
"env": [
"NEXT_PUBLIC_AVAILABILITY_SCHEDULE_INTERVAL",