Skip to content

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

turning back on

Copple001336b8a37b
diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml
index b01dba8dc82..40c20394ba6 100644
--- a/.github/workflows/prettier.yml
+++ b/.github/workflows/prettier.yml
@@ -3,7 +3,7 @@ name: Check Code with Prettier
on:
pull_request:
branches:
- - 'disabled-for-now'
+ - 'master'
jobs:
format:
@@ -13,17 +13,19 @@ jobs:
uses: actions/checkout@v2
- name: Run prettier
run: |-
- function run_check() {
- if $(grep -q '"prettier"' "$1") ; then
- pushd "$(dirname $1)"
- echo "Running prettier on $(pwd)"
- npx prettier -c '**/*.{js,jsx,ts,tsx,css,md,json}'
- popd
- fi
- }
- find . -type f -name 'package.json' ! -path '*node_modules*' -print0 | while IFS= read -r -d '' file; do
- run_check "$file"
- done
+ npx prettier -c 'apps/**/*.{js,jsx,ts,tsx,css,md,json}'
+ # run: |-
+ # function run_check() {
+ # if $(grep -q '"prettier"' "$1") ; then
+ # pushd "$(dirname $1)"
+ # echo "Running prettier on $(pwd)"
+ # npx prettier -c '**/*.{js,jsx,ts,tsx,css,md,json}'
+ # popd
+ # fi
+ # }
+ # find . -type f -name 'package.json' ! -path '*node_modules*' -print0 | while IFS= read -r -d '' file; do
+ # run_check "$file"
+ # done
# i18n is not a node package, so we handle that one separately
format-i18n: