name: Linter on: push: branches: [ "main" ] pull_request: branches: [ "main" ] jobs: eslint: name: Run ESlint runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Install dependencies run: npm ci working-directory: ./frontend - name: Run ESLint run: npx eslint . working-directory: ./frontend