Skip to content

Circleci project setup#28

Open
peach3es wants to merge 5 commits intomainfrom
circleci-project-setup
Open

Circleci project setup#28
peach3es wants to merge 5 commits intomainfrom
circleci-project-setup

Conversation

@peach3es
Copy link
Owner

This pull request introduces automated testing and coverage reporting to the project by integrating CircleCI and configuring Vitest coverage options. The main changes are grouped into CI/CD setup and test coverage enhancements:

CI/CD Setup:

  • Added a new .circleci/config.yml file to set up CircleCI with a Node.js 20.18 Docker image, caching for npm dependencies, and a job to run Vitest tests with coverage reporting.

Test Coverage Enhancements:

  • Updated vitest.config.ts to enable coverage reporting, specifying text and lcov reporters, setting the reports directory to coverage, and excluding test setup files from coverage.

Configured Vitest to generate coverage reports in text and lcov formats, excluding test files. Updated CircleCI config to use a Node 20 executor, install dependencies, run Vitest with coverage, and store coverage artifacts. This improves CI visibility and test coverage tracking.
@peach3es peach3es self-assigned this Oct 22, 2025
Copilot AI review requested due to automatic review settings October 22, 2025 03:52
@peach3es peach3es added the automation Automating feature to this project label Oct 22, 2025
@peach3es peach3es linked an issue Oct 22, 2025 that may be closed by this pull request
@vercel
Copy link

vercel bot commented Oct 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
meld Ready Ready Preview Comment Oct 22, 2025 4:09am

Copy link
Contributor

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 PR sets up continuous integration for the project by configuring CircleCI to automatically run tests with coverage reporting on each commit.

Key Changes:

  • Added CircleCI configuration with Node.js 20.18 environment and npm dependency caching
  • Configured Vitest to generate coverage reports in text and lcov formats
  • Set up automated test execution with coverage artifact storage

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.circleci/config.yml New CircleCI pipeline configuration for running Vitest with coverage
vitest.config.ts Added coverage configuration to generate reports and exclude test files

Upgraded several dependencies including @hookform/resolvers, react-hook-form, and zod. Added new packages: @radix-ui/react-label, @radix-ui/react-slot, @vitest/coverage-v8, and sonner. This update also includes various new sub-dependencies and minor adjustments to dev and optional dependency flags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation Automating feature to this project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setup CI/CD for automating test and deployment

2 participants