mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
chore(prettier): improve ci (#9947)
* Update prettier.yml * Update DEVELOPERS.md * Update prettier.yml * Update DEVELOPERS.md * Update .github/workflows/prettier.yml Co-authored-by: Han Qiao <sweatybridge@gmail.com>
This commit is contained in:
1 parent
b1dbcc522c
commit
fd8573529b
1 file changed
+13
-4
@@ -13,8 +13,13 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
# disable this check while we migrate to monorepo
|
||||
- name: Run prettier
|
||||
run: |-
|
||||
npx prettier -c 'apps/**/*.{js,jsx,ts,tsx,css,md,json}'
|
||||
uses: EPMatt/reviewdog-action-prettier@v1
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
reporter: github-pr-review
|
||||
level: warning
|
||||
command: npx prettier -c 'apps/**/*.{js,jsx,ts,tsx,css,md,json}'
|
||||
|
||||
# run: |-
|
||||
# function run_check() {
|
||||
# if $(grep -q '"prettier"' "$1") ; then
|
||||
@@ -35,5 +40,9 @@ jobs:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Run prettier
|
||||
run: |-
|
||||
npx prettier -c 'i18n/**/*.{js,jsx,ts,tsx,css,md,json}'
|
||||
uses: EPMatt/reviewdog-action-prettier@v1
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
reporter: github-pr-review
|
||||
level: warning
|
||||
command: npx prettier -c 'i18n/**/*.{js,jsx,ts,tsx,css,md,json}'
|
||||
Reference in new issue
Block a user