From 27dcfc901c15e3b7a8c19e6c30861d2731962487 Mon Sep 17 00:00:00 2001 From: biersoeckli Date: Thu, 4 Dec 2025 12:39:44 +0000 Subject: [PATCH] chore: add DATABASE_URL environment variable for build time in workflows --- .github/workflows/build-release.yml | 4 ++++ .github/workflows/canary-release.yml | 4 ++++ .github/workflows/tests.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 6fdcc55..35dff66 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -5,6 +5,10 @@ on: release: types: [released, prereleased] +env: + # dummy database url for build time --> prisma + DATABASE_URL: file:./dev.db + permissions: contents: read diff --git a/.github/workflows/canary-release.yml b/.github/workflows/canary-release.yml index adb8782..514d2c5 100644 --- a/.github/workflows/canary-release.yml +++ b/.github/workflows/canary-release.yml @@ -6,6 +6,10 @@ on: - main workflow_dispatch: +env: + # dummy database url for build time --> prisma + DATABASE_URL: file:./dev.db + permissions: contents: read diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f93eefb..0b670b6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,10 @@ on: branches: - main +env: + # dummy database url for build time --> prisma + DATABASE_URL: file:./dev.db + permissions: contents: read