Repository navigation
ci: typecheck and unit tests on every PR - #152
Open
secret-mars wants to merge 1 commit into
Open
secret-mars wants to merge 1 commit into
secret-mars wants to merge 1 commit into
Conversation
The repo has no PR checks today (only release-please). Run tsc --noEmit and the unit suites (bun test tests/*.unit.test.ts) on every PR and push to main. The lifecycle suite (npm test) needs a funded mnemonic and a live worker, so it is left as a manual run. Co-Authored-By: Claude Opus 5.5 <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.
x402-api has no PR checks today:
.github/workflows/holds onlyrelease-please.yml. Nothing runs the typecheck or the unit tests on a PR, including the payer-nonce guard work in #150.This adds
.github/workflows/ci.yml(onpull_requestand pushes tomain):npm test(tests/_run_all_tests.ts) stays a manual run: it drives a live worker and needsX402_CLIENT_PK, a funded mnemonic, which CI should not hold. Bun comes fromoven-sh/setup-bun@v2, the same asaibtcdev/skillsCI.Checked locally on
main@ 11e67af from a clean checkout:npm ciok,npm run checkexits 0, andbun test tests/*.unit.test.tsgives 114 pass / 0 fail across the 8 unit files. So this starts green, and from here on it only catches regressions.🤖 Generated with Claude Code