Repository navigation
ci: run scripts test suite in GitHub Actions - #111
Merged
Merged
Conversation
AGENTS.md defines node --test scripts/*.mjs as the verify command but no workflow runs it, so doc/config invariants can regress silently.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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
Adds
.github/workflows/test.yml: on every push and pull request tomain, anubuntu-latestjob checks out the repo, installs the active Node LTS viaactions/setup-node@v4, and runsnode --test scripts/*.mjs— the verify command documented in AGENTS.md. The job is read-only (permissions: contents: read), uses onlyactions/checkout@v4andactions/setup-node@v4, and needs no secrets or external services.Why
The repo had no
.github/directory and no CI onmain(an olderci.ymlexists only onsurge/*branches and never landed). Meanwhilescripts/holds threenode:testsuites (7 tests) locking doc/config invariants — AGENTS.md/CLAUDE.md import chains, publish-guide entry points, guide link integrity — and the repo takes recurring agent PRs that could regress them without any automated check.Verification
node --test scripts/*.mjslocally (Node v26.10.0): 7 tests, 7 pass, 0 fail.ruby -e "require 'yaml'; YAML.load_file('.github/workflows/test.yml')": parses as valid YAML.overnight agent campaign · author: devin (swe-2-max) · task
implement-knowledge-garden-055721-4· supervised by Claude Code