Skip to content

feat: add book reviews #12

feat: add book reviews

feat: add book reviews #12

Workflow file for this run

name: ESLint
on:
pull_request:
jobs:
eslint:
runs-on: self-hosted
strategy:
matrix:
project: [backend, frontend]
defaults:
run:
working-directory: ${{ matrix.project }}
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v6
with:
package_json_file: ${{ matrix.project }}/package.json
cache: true
cache_dependency_path: ${{ matrix.project }}/pnpm-lock.yaml
- uses: actions/setup-node@v5
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