Skip to content

Run type-check, lint and prettier on every PR - #213

Merged
deebov merged 1 commit into
mainfrom
ci/checks
Sep 26, 2026
Merged

deebov merged 1 commit into
mainfrom
ci/checks

Conversation

@deebov

@deebov deebov commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Why

This repo has no CI. A change that breaks users' projects can merge here, and it's only caught later when the website bumps its submodule pointer. By then it's already on main.

What

.github/workflows/ci.yml runs the existing test script (bun run test) on every PR and on pushes to main:

  • tsc, including the Vite template's noUnusedLocals and noUnusedParameters;
  • eslint, with the rules create-next-app enables (React Compiler hook rules, typescript-eslint recommended);
  • prettier --check.

It passes on main today; I ran it locally.

After this merges, consider making the type-check, lint, prettier check required in the branch rules.

🤖 Generated with Claude Code

The repo had no CI, so a change that breaks users' projects could merge and
only be caught later, when the website bumps its submodule pointer. This runs
the existing `test` script: tsc with the Vite template's unused-code checks,
eslint with the rules create-next-app enables, and prettier.
@deebov
deebov merged commit 89923e1 into main Sep 26, 2026
1 check passed
@deebov
deebov deleted the ci/checks branch September 26, 2026 14:39
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