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"