Add CI: lint, typecheck, build, and format checks#7
Merged
Conversation
- Updated .gitignore to exclude .pnpm-store. - Added .prettierignore and .prettierrc for consistent code formatting. - Enhanced package.json with new scripts for build, linting, and formatting. - Introduced CI workflow for automated checks on push and pull requests. - Added ESLint configuration for both client and server to enforce code quality. - Refactored various components for improved readability and consistency in the client application. - Updated README for better clarity on project structure and usage.
Ramzi-Abidi
force-pushed
the
chore/lint-typecheck-format-ci
branch
from
July 3, 2026 09:45
9de1bd6 to
5380dc5
Compare
- Renamed quality job to format and added steps for formatting checks. - Introduced lint-and-typecheck and build jobs for better separation of concerns. - Added all-checks-pass job to ensure all previous jobs succeed before final confirmation. - Refactored various components in the client for improved readability and consistency in JSX formatting.
- Upgraded pnpm version from 9 to 11 in CI jobs for better performance. - Added installation step for root dependencies in CI workflow. - Refactored AskService to streamline conversation history loading and improve readability. - Enhanced loadConversationHistory method to ensure consistent return type.
- Changed Node.js version from 20 to 22 in CI jobs for improved compatibility and performance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a GitHub Actions CI pipeline and the quality tooling behind it so every push and PR is checked automatically. Also applies an initial formatting pass across the repo so the new checks pass from the start.
Tooling added
eslint.config.js) and server (eslint.config.mjs)typecheckscripts split frombuildin both client and serverScripts (root
package.json)pnpm lint— ESLint in client + serverpnpm typecheck—tsc --noEmitin bothpnpm build— production build for bothpnpm format/pnpm format:check— Prettier write / checkCI (
.github/workflows/ci.yml)pushtomainand on all pull requestsformat:check→lint→typecheck→buildCleanup to make CI green
vector-index.service.tsandchunker.service.ts(unused params,anytypes, null handling)server/pnpm-workspace.yaml.pnpm-store/to.gitignoreNotes