From 883e3618ddecb3fbabed15a2750c2f61e4f59a06 Mon Sep 17 00:00:00 2001 From: kaimsfd Date: Fri, 6 Oct 2023 10:29:22 +0000 Subject: [PATCH] added eslint to ci --- .github/workflows/frontend-code.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/frontend-code.yml b/.github/workflows/frontend-code.yml index fe6ff92e..bd52921e 100644 --- a/.github/workflows/frontend-code.yml +++ b/.github/workflows/frontend-code.yml @@ -6,6 +6,7 @@ on: jobs: test: + # Deduplicate jobs from pull requests and branch pushes within the same repo. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository name: Frontend Test runs-on: ubuntu-latest @@ -35,3 +36,5 @@ jobs: - name: Run ESLint uses: actions/checkout@v4.1.0 run: eslint . --ext .js,.jsx,.ts,.tsx + with: + dir: "frontend"