From d76703cd69d4a311c3b646de309a227db91580fc Mon Sep 17 00:00:00 2001 From: mikana0918 Date: Sun, 24 Nov 2024 18:22:21 +0900 Subject: [PATCH] chore: Simplify CI workflow by removing unused setup steps and updating lint commands --- .github/workflows/ci-frourio.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-frourio.yml b/.github/workflows/ci-frourio.yml index 0177856..f2f8b2e 100644 --- a/.github/workflows/ci-frourio.yml +++ b/.github/workflows/ci-frourio.yml @@ -31,9 +31,6 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 18 - # - name: Setup testing environment - # run: | - # docker-compose up -d - uses: actions/cache@v4 id: root-npm-cache with: @@ -56,19 +53,9 @@ jobs: - run: npm install --prefix backend-api if: steps.server-npm-cache.outputs.cache-hit != 'true' - name: Execute frontend lint - uses: reviewdog/action-eslint@v1 - with: - github_token: ${{ secrets.github_token }} - reporter: github-pr-review # Change reporter. - workdir: . - eslint_flags: "frontend-web/" + run: npm run lint --prefix frontend-web - name: Execute backend lint - uses: reviewdog/action-eslint@v1 - with: - github_token: ${{ secrets.github_token }} - reporter: github-pr-review # Change reporter. - workdir: . - eslint_flags: "backend-api/" + run: npm run lint --prefix backend-api - name: Setup DB run: | sudo systemctl start postgresql.service