Skip to content

ci: add lint + CI pipeline for the server package #124

Closed

Description

@gkhngyk

Problem

The server package has no CI coverage at all. .github/workflows/ci.yml defines only a web job (format + typecheck). The server also has no linter configured — server/package.json has no lint script and no ESLint dependency/config, while web already uses ESLint + Prettier.

As a result, server code can be merged with no automated quality gate.

Proposed change

  1. Add ESLint (flat config) + Prettier to server, matching the conventions already used in web where reasonable (ESM, Node 20).
  2. Add lint and format:check scripts to server/package.json.
  3. Add a server job to .github/workflows/ci.yml that installs deps and runs lint + format check.

Example workflow job:

  server:
    name: server — lint & format
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: server
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 20
          cache: npm
          cache-dependency-path: server/package-lock.json
      - run: npm ci
      - run: npm run lint
      - run: npm run format:check

Acceptance criteria

  • ESLint + Prettier configured for server
  • npm run lint and npm run format:check scripts added
  • Server lint/format issues fixed so the repo is clean
  • New server CI job runs on every PR and on push to main

Notes

server uses npm (not yarn) per the README, so the job should use npm ci.

Activity

  1. added
    enhancement
    help wanted
    on May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions