Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: update sql prettier check

Qiao Han341bfd4f0a03
diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml
index 17e6cd92c86..b76110e2298 100644
--- a/.github/workflows/prettier.yml
+++ b/.github/workflows/prettier.yml
@@ -61,4 +61,7 @@ jobs:
run: npm ci
- name: Run prettier
run: |-
- npx prettier -c '*.sql'
+ # Check mdx files which contain sql code blocks
+ grep -lr '```sql' apps/docs/pages/**/*.mdx | \
+ grep -Ev '(/guides/auth/|/guides/integrations/)' | \
+ xargs npx prettier -c