From cacf6f27df04e80c533120e8af455ed30b7ea842 Mon Sep 17 00:00:00 2001 From: Kunal Date: Sat, 7 Feb 2026 17:44:33 +0000 Subject: [PATCH] fix(ci): export Clerk pk to Cypress via CYPRESS_ env var --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad1fa060..a302d0a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,6 +121,9 @@ jobs: - name: Run Cypress E2E env: NEXT_TELEMETRY_DISABLED: "1" + # Cypress exposes env vars prefixed with CYPRESS_ via Cypress.env(). + CYPRESS_NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} + # Also set for the app itself. NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} run: | cd frontend