Error:

Uncaught Error: supabaseUrl is required.

Solution:

Just put all your configurations under build block

build:

name: build

runs-on: ubuntu-latest

env:

VITE_SUPABASE_URL: ${{ secrets.VITE_SUPABASE_URL }}

VITE_SUPABASE_ANON_KEY: ${{ secrets.VITE_SUPABASE_ANON_KEY }}