From d7924311680cbb73352ff6b2b86c55c562c968c8 Mon Sep 17 00:00:00 2001 From: ErikssonJoakim Date: Tue, 29 Aug 2023 13:49:48 +0200 Subject: [PATCH] ci(workflow): lint format --- .github/workflows/lint.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b292deb..38edafa 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -117,3 +117,16 @@ jobs: - name: Lint subql project run: | yarn subql validate + + lint-format: + runs-on: ubuntu-22.04 + steps: + - name: Check out repository + uses: actions/checkout@v3 + + - name: Prettify code + uses: creyD/prettier_action@v4.3 + with: + dry: True + prettier_options: --check . + prettier_version: 3.0.2