From 9fda04e1835540b00854c3ae1dfb8137edf26c5f Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Mon, 30 Mar 2026 13:25:27 +0000 Subject: [PATCH] Add ESLint GitHub Action for PR linting checks Adds a lint.yml workflow that runs pnpm lint:check on all pull requests targeting main and test branches, matching the existing format and test workflow patterns. Co-Authored-By: Paperclip --- .github/workflows/lint.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..18d15ffa --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,29 @@ +name: Lint Check + +on: + pull_request: + branches: [main, test] + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + + - name: Install dependencies + run: pnpm install + + - name: Check linting + run: pnpm lint:check