Skip to content

ci: add checks for formatting, linting, build and tests #2

ci: add checks for formatting, linting, build and tests

ci: add checks for formatting, linting, build and tests #2

Workflow file for this run

name: ESLint
on:
pull_request:
push:
jobs:
eslint:
runs-on: self-hosted
strategy:
matrix:
project: [backend, frontend]
defaults:
run:
working-directory: ${{ matrix.project }}
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v4
with:
package_json_file: ${{ matrix.project }}/package.json
- uses: actions/setup-node@v7
with:
node-version: 24
- name: Install dependencies
run: pnpm install --frozen-lockfile
# We need to generate React Router types for lint rules that use types
- name: Generate React Router types
if: matrix.project == 'frontend'
run: pnpm exec react-router typegen
- name: Lint with ESLint
run: pnpm lint