Skip to content

Blog

Blog #35

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: supabase/setup-cli@v1
with:
version: latest
- name: Start Supabase local development setup
run: supabase start
- name: Verify generated types are checked in
run: |
supabase gen types typescript --local > src/types/supabase.ts
if git diff --ignore-space-at-eol --exit-code --quiet src/types/supabase.ts; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi