From 98c050e7e9474aae0fd6be0780f54f4b418e34a5 Mon Sep 17 00:00:00 2001 From: Jai A Date: Fri, 18 Oct 2024 17:33:15 -0700 Subject: [PATCH] Fix lint again --- .github/workflows/turbo-ci.yml | 3 +++ turbo.json | 13 +++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/turbo-ci.yml b/.github/workflows/turbo-ci.yml index a5fb0269..02607a96 100644 --- a/.github/workflows/turbo-ci.yml +++ b/.github/workflows/turbo-ci.yml @@ -75,3 +75,6 @@ jobs: - name: Test run: pnpm test + env: + SQLX_OFFLINE: true + DATABASE_URL: postgresql://labrinth:labrinth@localhost/postgres diff --git a/turbo.json b/turbo.json index e9981fdb..73dd66fc 100644 --- a/turbo.json +++ b/turbo.json @@ -19,14 +19,23 @@ "SQLX_OFFLINE" ] }, - "lint": {}, + "lint": { + "env": [ + "SQLX_OFFLINE" + ] + }, "dev": { "cache": false, "persistent": true, "inputs": ["$TURBO_DEFAULT$", ".env*"], "env": ["DISPLAY", "WEBKIT_DISABLE_DMABUF_RENDERER"] }, - "test": {}, + "test": { + "env": [ + "SQLX_OFFLINE", + "DATABASE_URL" + ] + }, "fix": { "cache": false }