From b1c044ed5fd7a41a5ff20a088a69ae7f95cf5c94 Mon Sep 17 00:00:00 2001 From: Hendrik Belitz Date: Tue, 24 Jun 2025 16:27:16 +0200 Subject: [PATCH] 34 - github actions need DATABASE_URL to build --- .github/workflows/main-deploy.yml | 2 ++ .github/workflows/pr-checks.yml | 2 ++ .github/workflows/release.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/main-deploy.yml b/.github/workflows/main-deploy.yml index 591d392..c53b91d 100644 --- a/.github/workflows/main-deploy.yml +++ b/.github/workflows/main-deploy.yml @@ -32,6 +32,8 @@ jobs: - name: Build application run: npm run build + env: + DATABASE_URL: "postgresql://test:test@localhost:5432/test" - name: Install Playwright browsers run: npx playwright install --with-deps diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index fcc352e..ba1bcfe 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -33,3 +33,5 @@ jobs: - name: Build application run: npm run build + env: + DATABASE_URL: "postgresql://test:test@localhost:5432/test" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 165ea30..06843f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,6 +42,8 @@ jobs: - name: Build application run: npm run build + env: + DATABASE_URL: "postgresql://test:test@localhost:5432/test" - name: Install Playwright browsers run: npx playwright install --with-deps