You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: add lint + CI pipeline for the server package #124
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
Add ESLint (flat config) + Prettier to server, matching the conventions already used in web where reasonable (ESM, Node 20).
Add lint and format:check scripts to server/package.json.
Add a server job to .github/workflows/ci.yml that installs deps and runs lint + format check.
Example workflow job:
server:
name: server — lint & formatruns-on: ubuntu-latestdefaults:
run:
working-directory: serversteps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4with:
node-version: 20cache: npmcache-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