From 247466f8d063af57091d9312156635d7550f6c99 Mon Sep 17 00:00:00 2001 From: Fernando Date: Wed, 28 Feb 2024 10:29:36 +0900 Subject: [PATCH] chore: fixed env for cypress tests --- .github/workflows/cypress-testing.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cypress-testing.yml b/.github/workflows/cypress-testing.yml index 0b5acb63..3d23e71a 100644 --- a/.github/workflows/cypress-testing.yml +++ b/.github/workflows/cypress-testing.yml @@ -6,11 +6,6 @@ on: - development pull_request: -env: - NODE_ENV: "test" - SUPABASE_URL: ${{ secrets.SUPABASE_URL }} - SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }} - jobs: cypress-run: runs-on: ubuntu-latest @@ -28,6 +23,9 @@ jobs: env: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Values are set because the code requires them, but they are not actually used. + SUPABASE_URL: "" + SUPABASE_ANON_KEY: "" - uses: actions/upload-artifact@v4 if: failure() with: