fix: use prettier on studio too (#17787)

This commit is contained in:
Kevin Grüneberg
2023-09-28 20:31:07 +02:00
committed by GitHub
parent 65afbccdef
commit bc1c9090c2
29 changed files with 304 additions and 126 deletions

View File

@@ -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