Improve CI workflow by adding directory listing for debugging and removing generated types preview
Deploy Function / deploy (push) Successful in 24s
Deploy Migrations to Production / deploy (push) Successful in 14s

This commit is contained in:
2026-03-10 08:25:59 -06:00
parent b04961a944
commit 3959b97aa1
+3 -6
View File
@@ -18,16 +18,13 @@ jobs:
- name: Start Supabase local development setup
run: supabase db start
- name: List directory contents for debugging
run: ls -R
- name: Verify generated types are checked in
run: |
supabase gen types typescript --local > supabase/functions/_shared/database.types.ts
echo "----- Generated types preview -----"
head -n 40 supabase/functions/_shared/database.types.ts
echo "-----------------------------------"
if ! git diff --ignore-space-at-eol --exit-code --quiet supabase/functions/_shared/database.types.ts; then
echo "Detected uncommitted changes after build. See diff below:"
git diff supabase/functions/_shared/database.types.ts
exit 1
fi