From 238f8e85bb66f3a48255f0fa26bae10dcd544b04 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Mon, 14 Jul 2025 13:07:20 +0200 Subject: [PATCH] chore: add missing env variables to turbo.json --- turbo.json | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) 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 + } +}