Skip to content

ci: check pull requests and pushes to main - #2

Merged
josephdburdick merged 1 commit into
mainfrom
ci/pr-checks
Nov 17, 2026
Merged

josephdburdick merged 1 commit into
mainfrom
ci/pr-checks

Conversation

@josephdburdick

@josephdburdick josephdburdick commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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 on pull_request and on pushes to main:

  1. bun install --frozen-lockfile
  2. bun run lint
  3. bun run type-check
  4. bun run test
  5. bun run build
  6. 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.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

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.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · up to 317db

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • 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.

@josephdburdick
josephdburdick merged commit 4f8c510 into main Nov 17, 2026
2 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.

1 participant