diff --git a/.github/workflows/check-code-style.yaml b/.github/workflows/check-code-style.yaml index e41ae78..028df3d 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: [frontend, backend] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -29,4 +32,6 @@ jobs: with: node-version: 20 - run: npm clean-install + working-directory: source-directory - run: npx prettier --check . + working-directory: source-directory diff --git a/.github/workflows/check-dependencies.yaml b/.github/workflows/check-dependencies.yaml index 6d72c35..6a41baf 100644 --- a/.github/workflows/check-dependencies.yaml +++ b/.github/workflows/check-dependencies.yaml @@ -14,6 +14,9 @@ jobs: working-directory: backend npm: + strategy: + matrix: + source-directory: [frontend, backend] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -21,3 +24,4 @@ jobs: with: node-version: "18" - run: npm clean-install + working-directory: source-directory