ci: add test-only workflow#14
Merged
Merged
Conversation
A public 12-package monorepo that publishes @crewhaus/studio-plugin-sdk to npm had no CI gating main or publish. This adds a single lightweight gate: checkout + setup-bun + bun install --frozen-lockfile + bun run test (the root script fans out to every @crewhaus/* workspace). Intentionally test-only: utilities has no root typecheck/lint script nor a biome config, so copying factory's typecheck/lint steps would fail. Actions are SHA-pinned to Node24 releases (checkout v6.0.3, setup-bun v2.2.0); least-privilege contents: read; concurrency cancels superseded runs. Free on public-repo runners. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
Add a single, lightweight test-only CI workflow. utilities is a public 12-package monorepo (~340 tests) that publishes
@crewhaus/studio-plugin-sdkto npm, but currently nothing gatesmainor a publish — a regression in any workspace can ship uncaught.bun run testis the existing root script (bun --filter=@crewhaus/* test), so it fans out across all workspace packages.Deliberately minimal ("fully functional, but not overly used")
typecheck/lintsteps. utilities has no roottypecheck/lintscript and no biome config, so copying factory's steps would fail on day one. Add them later only if/when those root scripts exist.checkoutdf4cb1c# v6.0.3,setup-bun0c5077e# v2.2.0).permissions: contents: read+ aconcurrencygroup (cancel superseded runs).main.This PR's own check is the proof the test suite passes green in CI.
🤖 Generated with Claude Code