Skip to content

Commit 868e454

Browse files
ci(e2e): include supabase environment variables in testing pipeline
- Added NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, and NEXT_PUBLIC_API_URL to CI e2e job - Updated .env.example with NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY placeholders for local development consistency
1 parent c5fcedd commit 868e454

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ jobs:
8989
S3_BUCKET: fairshare-test-bucket
9090
STRIPE_SECRET_KEY: sk_test_key
9191
NEXT_PUBLIC_APP_URL: http://localhost:3000
92+
NEXT_PUBLIC_SUPABASE_URL: http://localhost:54321
93+
NEXT_PUBLIC_SUPABASE_ANON_KEY: dummy-anon-key
94+
NEXT_PUBLIC_API_URL: http://localhost:3001/api/v1
9295
run: pnpm run e2e
9396

9497
- name: Upload coverage

apps/web/.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ FAIRSHARE_API_URL=http://localhost:3001/api/v1
22
NEXT_PUBLIC_API_URL=http://localhost:3001/api/v1
33
FAIRSHARE_S3_BASE_URL=
44
NEXT_PUBLIC_S3_BASE_URL=
5+
NEXT_PUBLIC_SUPABASE_URL=
6+
NEXT_PUBLIC_SUPABASE_ANON_KEY=

0 commit comments

Comments
 (0)