Skip to content

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

Update prettier GH action

Joshen Lim7c9767856ab4
diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml
index 43305fc1aed..462e45092a9 100644
--- a/.github/workflows/prettier.yml
+++ b/.github/workflows/prettier.yml
@@ -11,14 +11,17 @@ jobs:
steps:
- name: Check out repo
uses: actions/checkout@v2
- # disable this check while we migrate to monorepo
- name: Run prettier
- 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: |-
+ npx prettier -c 'apps/**/*.{js,jsx,ts,tsx,css,md,json}'
+ # [Joshen] Temp disable the following due to an issue
+ # https://github.com/EPMatt/reviewdog-action-prettier/issues/34
+ # 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() {
@@ -40,9 +43,11 @@ jobs:
- name: Check out repo
uses: actions/checkout@v2
- name: Run prettier
- 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}'
+ 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}'