about summary refs log tree commit diff
path: root/.github/workflows/linter.yml
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2022-12-02 22:05:35 -0500
committerGitHub <noreply@github.com>2022-12-03 12:05:35 +0900
commitf77ed3a6b202b0eba42e4ce2e76b09dcf70398b4 (patch)
tree681802009df86db46ab8bce4fe171ea1f7df8ae0 /.github/workflows/linter.yml
parent2413e5f3f012b3038443281c5374994b05f4525c (diff)
Correct prettier calls for YML/JSON (#21832)
* Fix fomat-check writing files

* Fix unformatted YML/JSON

* Add format-check call to prevent regressions
Diffstat (limited to '.github/workflows/linter.yml')
-rw-r--r--.github/workflows/linter.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml
index cd8cb12c4..874afc459 100644
--- a/.github/workflows/linter.yml
+++ b/.github/workflows/linter.yml
@@ -57,12 +57,14 @@ jobs:
           cache: yarn
       - name: Install dependencies
         run: yarn install --frozen-lockfile
+      - name: Check prettier formatting
+        run: yarn format-check
       - name: Set-up RuboCop Problem Mathcher
         uses: r7kamura/rubocop-problem-matchers-action@v1
       - name: Set-up Stylelint Problem Matcher
         uses: xt0rted/stylelint-problem-matcher@v1
       # https://github.com/xt0rted/stylelint-problem-matcher/issues/360
-      - run: echo "::add-matcher::.github/stylelint-matcher.json" 
+      - run: echo "::add-matcher::.github/stylelint-matcher.json"
 
       ################################
       # Run Linter against code base #