Skip to content

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

chore: add format sql job

Qiao Han7e6812d85920
diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml
index 371aa1b881e..fdd36c71a59 100644
--- a/.github/workflows/prettier.yml
+++ b/.github/workflows/prettier.yml
@@ -51,3 +51,14 @@ jobs:
# reporter: github-pr-review
# level: warning
# command: npx prettier -c 'i18n/**/*.{js,jsx,ts,tsx,css,md,json}'
+
+ format-sql:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out repo
+ uses: actions/checkout@v3
+ - name: Install plugin
+ run: npm ci
+ - name: Run prettier
+ run: |-
+ npx prettier -c '**/*.sql'