diff --git a/.github/workflows/web-e2e-tests-optimized.yml b/.github/workflows/web-e2e-tests-optimized.yml index 7aad8a1cd..6b7b809ee 100644 --- a/.github/workflows/web-e2e-tests-optimized.yml +++ b/.github/workflows/web-e2e-tests-optimized.yml @@ -33,6 +33,12 @@ jobs: npm install npx playwright install --with-deps npm run build + env: + NEXT_PUBLIC_API_URL: http://localhost:3001 + NEXT_PUBLIC_URL: http://localhost:3000 + NEXT_PUBLIC_SUPABASE_URL: http://127.0.0.1:54321 + NEXT_PUBLIC_SUPABASE_ANON_KEY: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODIzNDMwOTZ9.7UIsMFfHYKxH7bUJCRfxd6lr7CSXGF7UxtZQO10FMMo" + NEXT_PUBLIC_WEB_SOCKET_URL: ws://localhost:3001 - name: Archive Frontend Build working-directory: ./web @@ -147,11 +153,6 @@ jobs: run: | npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.totalShards }} env: - NEXT_PUBLIC_API_URL: http://localhost:3001 - NEXT_PUBLIC_URL: http://localhost:3000 - NEXT_PUBLIC_SUPABASE_URL: http://127.0.0.1:54321 - NEXT_PUBLIC_SUPABASE_ANON_KEY: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODIzNDMwOTZ9.7UIsMFfHYKxH7bUJCRfxd6lr7CSXGF7UxtZQO10FMMo" - NEXT_PUBLIC_WEB_SOCKET_URL: ws://localhost:3001 CI: "true" DEBUG: "pw:api" timeout-minutes: 15