Skip to content

Update @supabase/ssr version, add /homepage to redirects array #263

Update @supabase/ssr version, add /homepage to redirects array

Update @supabase/ssr version, add /homepage to redirects array #263

Workflow file for this run

name: 'Run Unit Tests'
on:
push:
# Ignore staging and production branches as this is redundant and will help
# save us some GH execution time, which is limited.
branches-ignore:
- staging
- production
pull_request:
branches-ignore:
- staging
- production
jobs:
run-unit-tests:
runs-on: ubuntu-latest
env:
# Dummy environment variables for testing only
NEXT_PUBLIC_TURNSTILE_SITE_KEY: 1x00000000000000000000AA
TURNSTILE_SECRET_KEY: 1x0000000000000000000000000000000AA
NEXT_PUBLIC_SUPABASE_URL: 'http://127.0.0.1:54321'
NEXT_PUBLIC_SUPABASE_ANON_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
SUPABASE_SERVICE_ROLE_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
GOOGLE_MAPS_API_KEY: ''
VOTER_REGISTRATION_REPO_ENCRYPTION_KEY: 'DvViBWSQfwFGSetPOVbIWZrMXYJh4wTVSE/+1QI/VTI='
CRYPTO_KEY_COOKIES: 'V8/+Dd0HQ2RLKur/oeFel2uLDSi7B1gXp6TjQVp8iOk='
KV_REST_API_URL: 'http://localhost:8079'
KV_REST_API_TOKEN: 'kv_token'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- uses: supabase/setup-cli@v1
with:
version: latest
- run: npm ci
- run: npm run supabase-test:start
- run: npm run kv:start
- run: npm run test:ci