ci: add lint and typecheck quality gate#230
Open
jeremylongshore wants to merge 1 commit intopascalorg:mainfrom
Open
ci: add lint and typecheck quality gate#230jeremylongshore wants to merge 1 commit intopascalorg:mainfrom
jeremylongshore wants to merge 1 commit intopascalorg:mainfrom
Conversation
Closes pascalorg#147 Adds a lightweight CI quality gate that runs the existing `bun run lint` (biome) and `bun run check-types` (tsc via turbo) on every push to main and every pull request. Uses `bun run lint` instead of `bun run check` to avoid triggering 191 pre-existing format violations. Matches release.yml setup exactly: oven-sh/setup-bun@v2, Node 22, frozen lockfile.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Closes #147
Adds a CI workflow that runs the repo's existing quality scripts on every push/PR:
bun run lintbiome.jsoncbun run check-typestsc --noEmitvia turbo across workspacesWhy
lintnotcheckbun run check(lint + format) currently fails with 191 pre-existing format violations across 189 files. Usingbun run lintenforces lint rules without requiring a massive formatting PR first. Format enforcement can be added separately.Setup
Matches
release.ymlexactly — bun package manager, Node 22, frozen lockfile.Context
I opened #147 with this exact approach on March 22. This PR implements it.