diff --git a/turbo.json b/turbo.json index dba5be4a..0ed5be6b 100644 --- a/turbo.json +++ b/turbo.json @@ -1,16 +1,22 @@ { - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": ["^build"], - "outputs": [".next/**", "!.next/cache/**"] - }, - "check-types": { - "dependsOn": ["^check-types"] - }, - "dev": { - "persistent": true, - "cache": false - } + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": ["^build"], + "outputs": [".next/**", "!.next/cache/**"], + "env": [ + "DATABASE_URL", + "BETTER_AUTH_SECRET", + "UPSTASH_REDIS_REST_URL", + "UPSTASH_REDIS_REST_TOKEN" + ] + }, + "check-types": { + "dependsOn": ["^check-types"] + }, + "dev": { + "persistent": true, + "cache": false } - } \ No newline at end of file + } +}