mirror of
https://github.com/supabase/supabase.git
synced 2026-07-01 03:24:26 +08:00
fix: use prettier on studio too (#17787)
This commit is contained in:
3
.github/workflows/prettier.yml
vendored
3
.github/workflows/prettier.yml
vendored
@@ -19,6 +19,7 @@ jobs:
|
||||
with:
|
||||
sparse-checkout: |
|
||||
apps
|
||||
studio
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
@@ -31,7 +32,7 @@ jobs:
|
||||
npm i prettier@2 prettier-plugin-sql-cst
|
||||
- name: Run prettier
|
||||
run: |-
|
||||
npx prettier -c 'apps/**/*.{js,jsx,ts,tsx,css,md,mdx,json}'
|
||||
npx prettier -c '{apps,studio}/**/*.{js,jsx,ts,tsx,css,md,mdx,json}'
|
||||
|
||||
|
||||
# i18n is not a node package, so we handle that one separately
|
||||
|
||||
Reference in New Issue
Block a user