From ac4912077fb323c6c1eab064822b523776c859d3 Mon Sep 17 00:00:00 2001 From: William Sawyer Date: Thu, 19 Oct 2023 19:59:56 +1000 Subject: [PATCH] Checked Prettier formatting in both frontend and backend directories --- .github/workflows/check-code-style.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/check-code-style.yaml b/.github/workflows/check-code-style.yaml index e41ae78..1c4945b 100644 --- a/.github/workflows/check-code-style.yaml +++ b/.github/workflows/check-code-style.yaml @@ -22,6 +22,9 @@ jobs: sort-paths: backend prettier: + strategy: + matrix: + source-directory: [backend, frontend] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -29,4 +32,6 @@ jobs: with: node-version: 20 - run: npm clean-install + working-directory: ${{ matrix.source-directory }} - run: npx prettier --check . + working-directory: ${{ matrix.source-directory }}