Beta branch 2.2 (Supports V13 and V14) on all actions, events and extensions. #1689
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - actions | |
| - events | |
| - extensions | |
| - sharder | |
| - bot.js | |
| - bot.ts | |
| - types.ts | |
| jobs: | |
| lint: | |
| name: ESLint (Node ${{ matrix.node-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # LTS (22, 24) plus Current line (25) from nodejs.org/dist/latest/. Node 26 omitted until setup-node lists it reliably. | |
| node-version: [22, 24, 25] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: npm | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run ESLint (JS + TS) | |
| run: npm run lint:all | |
| - name: Run Prettier | |
| run: npm run prettier:check |