Skip to content

Commit

Permalink
chore: fixed env for cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Feb 28, 2024
1 parent 8706083 commit 247466f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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_url>"
SUPABASE_ANON_KEY: "<supabase_anon_key>"
- uses: actions/upload-artifact@v4
if: failure()
with:
Expand Down

0 comments on commit 247466f

Please sign in to comment.