Skip to content

fix(ci): revert to eslint-config-next@14 and pin @typescript-eslint #29

fix(ci): revert to eslint-config-next@14 and pin @typescript-eslint

fix(ci): revert to eslint-config-next@14 and pin @typescript-eslint #29

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Lint, Type-Check, Test & Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Lint
run: npm run lint
- name: Type-check
run: npm run type-check
- name: Run tests
run: npm test -- --ci
- name: Build
run: npm run build