From bd352c506b4d51391b30b7adc5d7a96d9a40200d Mon Sep 17 00:00:00 2001 From: Kunal Date: Sun, 8 Feb 2026 15:17:16 +0000 Subject: [PATCH] ci(e2e): set NEXT_PUBLIC_API_URL for frontend during Cypress --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c3bb70f..8e0c002c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,6 +104,7 @@ jobs: - name: Start frontend (dev server) env: + NEXT_PUBLIC_API_URL: "http://localhost:3000" NEXT_TELEMETRY_DISABLED: "1" CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }} NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} @@ -120,6 +121,7 @@ jobs: - name: Run Cypress E2E env: + NEXT_PUBLIC_API_URL: "http://localhost:3000" NEXT_TELEMETRY_DISABLED: "1" # Clerk testing tokens (official @clerk/testing Cypress integration) CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}