Skip to content

ci: add test-only workflow#14

Merged
crewhaus merged 1 commit into
mainfrom
ci/add-test-workflow
Jun 15, 2026
Merged

ci: add test-only workflow#14
crewhaus merged 1 commit into
mainfrom
ci/add-test-workflow

Conversation

@crewhaus

Copy link
Copy Markdown
Owner

What

Add a single, lightweight test-only CI workflow. utilities is a public 12-package monorepo (~340 tests) that publishes @crewhaus/studio-plugin-sdk to npm, but currently nothing gates main or a publish — a regression in any workspace can ship uncaught.

checkout (pinned) → setup-bun (pinned) → bun install --frozen-lockfile → bun run test

bun run test is the existing root script (bun --filter=@crewhaus/* test), so it fans out across all workspace packages.

Deliberately minimal ("fully functional, but not overly used")

  • Test-only — no typecheck/lint steps. utilities has no root typecheck/lint script and no biome config, so copying factory's steps would fail on day one. Add them later only if/when those root scripts exist.
  • Actions SHA-pinned to Node24 releases (checkout df4cb1c # v6.0.3, setup-bun 0c5077e # v2.2.0).
  • permissions: contents: read + a concurrency group (cancel superseded runs).
  • Free on public-repo runners; runs only on push/PR to main.

This PR's own check is the proof the test suite passes green in CI.

🤖 Generated with Claude Code

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>
@crewhaus crewhaus merged commit 77223af into main Jun 15, 2026
1 check passed
@crewhaus crewhaus deleted the ci/add-test-workflow branch June 15, 2026 01:50
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