Skip to content

Beta branch 2.2 (Supports V13 and V14) on all actions, events and extensions. #1689

Beta branch 2.2 (Supports V13 and V14) on all actions, events and extensions.

Beta branch 2.2 (Supports V13 and V14) on all actions, events and extensions. #1689

Workflow file for this run

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