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 }}