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
The repo only had the Storybook deploy and npm publish workflows, so nothing ran on pull requests. PR #1 merged without any check running on GitHub.
What
Adds .github/workflows/ci.yml, which runs on pull_request and on pushes to main:
bun install --frozen-lockfile
bun run lint
bun run type-check
bun run test
bun run build
bun run storybook:build
It follows the existing workflows: ubuntu-latest, actions/checkout@v7, oven-sh/setup-bun@v2 with the bun version read from packageManager in package.json. Permissions are contents: read only. A newer push to the same PR cancels the run it supersedes; pushes to main never cancel each other.
The workflow and job names (CI / ci) match the reveal-row package.
Not changed
Branch protection is untouched, so the check is not required yet. The check name to require is ci.
Summary by CodeRabbit
Chores
Added automated checks for pull requests and updates to the main branch. These checks validate code quality, type correctness, tests, and application and Storybook builds before changes are considered ready.
No actionable comments were generated in the recent review.
Walkthrough
Adds a GitHub Actions workflow for pull requests and pushes to main. The workflow configures Bun, installs dependencies with a frozen lockfile, and runs lint, type-check, tests, build, and Storybook build.
Changes: Continuous integration
Layer / File(s)
Summary
CI triggers and checks .github/workflows/ci.yml
The workflow runs on pull requests and pushes to main. It sets read-only repository-content permissions, cancels earlier runs in the same concurrency group, and uses the run ID as the push fallback. It installs dependencies with a frozen lockfile, then runs lint, type-check, tests, build, and Storybook build.
This change adds a CI workflow that runs lint, type-check, tests, build, and Storybook build on pull requests and pushes to main. It does not touch application code. The check is not yet required by branch protection, so it cannot block merges until it is configured as required.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title uses the conventional commit prefix 'ci:' and states the main change: the new CI workflow runs on pull requests and pushes to main. The workflow adds lint, type-check, test, build, and Story…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title uses the conventional commit prefix 'ci:' and states the main change: the new CI workflow runs on pull requests and pushes to main. The workflow adds lint, type-check, test, build, and Storybook build steps, which the title does not list, but the title still names the primary change accurately and is specific enough for a teammate scanning history.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: ee752b3a-24f1-4151-850e-2f678e7e4971
Commits
Reviewing files that changed from the base of the PR and between 7b48e77 and 317db2e.
Files selected for processing: 1
.github/workflows/ci.yml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
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
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.
Why
The repo only had the Storybook deploy and npm publish workflows, so nothing ran on pull requests. PR #1 merged without any check running on GitHub.
What
Adds
.github/workflows/ci.yml, which runs onpull_requestand on pushes tomain:bun install --frozen-lockfilebun run lintbun run type-checkbun run testbun run buildbun run storybook:buildIt follows the existing workflows:
ubuntu-latest,actions/checkout@v7,oven-sh/setup-bun@v2with the bun version read frompackageManagerinpackage.json. Permissions arecontents: readonly. A newer push to the same PR cancels the run it supersedes; pushes tomainnever cancel each other.The workflow and job names (
CI/ci) match the reveal-row package.Not changed
Branch protection is untouched, so the check is not required yet. The check name to require is
ci.Summary by CodeRabbit