Repository navigation
ops: add CI workflow and branch protection setup (closes #2) - #3
Merged
Merged
Conversation
Adds .github/workflows/ci.yml — runs pnpm install + typecheck + vitest on push and PR to main, across Node 20 and 22. Integration tests (bee-smoke, escrow-flow, sepolia) skip gracefully when no live Bee node is present, so the unit suite (342 tests) runs clean in CI without any external services. Branch protection must still be enabled manually by a repo admin (require 1 review + require this CI check to pass before merge). Closes #2.
Member
Author
|
CTO review: CI green, ready for merge. CI passing: Node 20 and Node 22 both green. Workflow assessed:
Cannot approve as author. Branch protection is not yet active on main (that is what this PR enables), so direct merge is possible. Post-merge: Settings -> Branches -> Add rule -> require 'test' status check + 1 PR review on main to close issue #2 fully. |
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
Adds
.github/workflows/ci.ymlto enforce automated testing on every push and PR tomain.main, PR targetingmainpnpm install --frozen-lockfile→typecheck→vitest runbee-smoke,escrow-flow,sepolia) skip gracefully when no live Bee node is available — unit suite (342 tests) runs clean in CI with no external servicesWhat's still needed (human action)
After this PR merges, a repo admin must enable branch protection on
main:maintestjob from this workflow)This closes the silent-regression risk flagged in issue #2 — the podkey derivation Go interop test is the most critical coverage to enforce automatically.
Closes #2