From ec79505a3cdb51d3b0253108658c8883aa4402af Mon Sep 17 00:00:00 2001 From: Evan Yan <103996156+evanyan13@users.noreply.github.com> Date: Tue, 12 Nov 2024 19:50:21 +0800 Subject: [PATCH] Add ESLint for Github Action (#125) * Fix Backend CI checks * Update backend cicd workflow * Install ESlint in github action --- .github/workflows/backend-ci-workflow.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/backend-ci-workflow.yaml b/.github/workflows/backend-ci-workflow.yaml index c026747b7a..d2a5579290 100644 --- a/.github/workflows/backend-ci-workflow.yaml +++ b/.github/workflows/backend-ci-workflow.yaml @@ -44,6 +44,8 @@ jobs: # Lint Check for Each Service - name: Lint Each Service run: | + npm install -g eslint + services=("auth-service" "code-execution-service" "collaboration-service" "gateway-service" "matching-service" "question-service" "user-service" "y-websocket-service") for service in "${services[@]}"; do echo "Linting $service"