name: Run ESLint on: push: branches: - main pull_request: branches: - main jobs: lint: name: Run ESLint runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '23' cache: 'npm' - name: Install dependencies run: npm ci - name: Run ESLint run: npm run lint