Open Panzki opened 1 month ago
Hi @sweatybridge, is there any plan to try to fix this issue?
Hi, I suspect the service version is different on CI. Could you try running supabase link on CI as well?
- run: supabase link --project-ref $SUPABASE_PROJECT_ID
- run: supabase gen types ...
Describe the bug I want to verify my generated Typescript types in my CI as proposed here. However I'm facing the problem that the types generated in the CI environment differ from the ones generated locally.
To Reproduce Steps to reproduce the behavior:
supabase gen types typescript --local > ./lib/database.types.ts
locally and check in the result.supabase gen types typescript --local > ./lib/database.types.ts
in CI.Expected behavior No diff.
System information Rerun the failing command with
--create-ticket
flag.