Skip to content

Add CI/CD workflow with linting, formatting, and build checks#4

Merged
BenGWeeks merged 4 commits intomainfrom
claude/add-ci-cd-checks-GUFZt
Jan 4, 2026
Merged

Add CI/CD workflow with linting, formatting, and build checks#4
BenGWeeks merged 4 commits intomainfrom
claude/add-ci-cd-checks-GUFZt

Conversation

@BenGWeeks
Copy link
Copy Markdown
Contributor

  • Add ESLint and Prettier as dev dependencies
  • Add npm scripts for lint, lint:fix, format, and format:check
  • Create .eslintrc.js with TypeScript and React best practices
  • Create CI workflow (.github/workflows/ci.yml) that runs on PRs and pushes:
    • ESLint linting checks
    • Prettier format verification
    • TypeScript type checking
    • Build verification with artifact upload

claude added 2 commits January 4, 2026 01:21
- Add ESLint and Prettier as dev dependencies
- Add npm scripts for lint, lint:fix, format, and format:check
- Create .eslintrc.js with TypeScript and React best practices
- Create CI workflow (.github/workflows/ci.yml) that runs on PRs and pushes:
  - ESLint linting checks
  - Prettier format verification
  - TypeScript type checking
  - Build verification with artifact upload
- Add Linting section with npm run lint and lint:fix commands
- Add Formatting section with npm run format and format:check commands
- Add CI/CD section describing GitHub Actions checks
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request establishes a comprehensive CI/CD pipeline for the project by adding automated code quality checks through GitHub Actions, along with ESLint and Prettier tooling for local development.

  • Adds ESLint and Prettier configurations with TypeScript and React support
  • Introduces npm scripts for linting and formatting operations
  • Creates a GitHub Actions CI workflow that runs on pushes and pull requests to verify code quality, formatting, type safety, and build success

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
package.json Adds new npm scripts (lint, lint:fix, format, format:check) and installs ESLint/Prettier related dev dependencies
.eslintrc.js Creates ESLint configuration with TypeScript, React, and React Hooks plugins, extends Prettier config to avoid conflicts
.github/workflows/ci.yml Implements CI workflow with four parallel jobs: linting, format checking, type checking, and building with artifact upload
README.md Documents new linting and formatting commands, and describes the CI/CD pipeline in a dedicated section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread package.json Outdated
Comment thread .eslintrc.js Outdated
Comment thread .github/workflows/ci.yml Outdated
claude added 2 commits January 4, 2026 02:38
- Add typecheck job to build dependencies to ensure type checking passes before build
- Document CI=false rationale (React treats warnings as errors in CI mode)
- Include backend/ directory in lint and format scripts for consistent coverage
- Fix overly broad *.config.js ignore pattern to only target root-level configs
- Remove conflicting ESLint dependencies (use react-scripts built-in)
- Simplify .eslintrc.js to extend react-app config
- Format all source files with Prettier
- Fix tsconfig.json to exclude backend from TypeScript compilation
- Fix setupTests.test.tsx to use global expect with jest-dom matchers
- Update package-lock.json with resolved dependencies
@BenGWeeks BenGWeeks merged commit f929fcd into main Jan 4, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants