From d28f357e0607b03b4720d2d1b0d9ae5f768d036a Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Thu, 4 Apr 2024 17:53:36 +0900 Subject: [PATCH] Run `yarn prettier` in `js.yml` (#11620) Signed-off-by: harupy <17039389+harupy@users.noreply.github.com> Signed-off-by: Harutaka Kawamura --- .github/workflows/autoformat.yml | 1 + .github/workflows/js.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml index 54a47cd14c979..65c795567b58f 100644 --- a/.github/workflows/autoformat.yml +++ b/.github/workflows/autoformat.yml @@ -141,6 +141,7 @@ jobs: working-directory: mlflow/server/js run: | yarn lint:fix + yarn prettier:fix - if: steps.diff.outputs.js == 'true' working-directory: mlflow/server/js run: | diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 62641197b2e16..cc98d84f5db3a 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -69,6 +69,9 @@ jobs: - name: Run lint run: | yarn lint + - name: Run prettier + run: | + yarn prettier:check - name: Run extract-i18n lint run: | yarn i18n:check