diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35585ad..d43c089 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: runs-on: ubuntu-latest env: DATABASE_URL: ${{ secrets.E2E_DATABASE_URL }} + DIRECT_URL: ${{ secrets.E2E_DIRECT_DATABASE_URL }} AUTH_SECRET: test-secret-test-secret-test-secret-test AUTH_GITHUB_ID: fake AUTH_GITHUB_SECRET: fake diff --git a/package.json b/package.json index e01a30c..048f845 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "feedbackflow", - "version": "1.0.2", + "version": "1.0.4", "private": true, "scripts": { "dev": "next dev", diff --git a/prisma.config.ts b/prisma.config.ts index 831a20f..f75818d 100644 --- a/prisma.config.ts +++ b/prisma.config.ts @@ -10,5 +10,7 @@ export default defineConfig({ }, datasource: { url: process.env["DATABASE_URL"], + // @ts-expect-error — directUrl is supported by Prisma 7 CLI but missing from the type definition + directUrl: process.env["DIRECT_URL"], }, });