You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a proper build step (dummy build is a temporary CI stopgap) #18
priority: lowMinor issue or improvement that can be deferred without impactstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: ciChanges to CI workflows, actions, or build pipelines
The @v4 CI coverage-badge leg runs coverage_build_command (default npm run build) before computing coverage. This repo has no build step, so the PR Coverage Badge check failed on release PR #17 with npm error Missing script: "build". Coverage itself is fine — real ci:coverage + a json-summary reporter — so the badge stays enabled.
Stopgap in place (commit baa490d on next)
A dummy no-op build so npm run build exits 0:
"build": "echo 'no build step - stopgap for CI coverage-badge; see tracking issue'"
This is temporary.
The real work — give this repo a proper build
Replace the dummy with a genuine build step for this package, then drop the stopgap. If, after review, fix-headers is deliberately source-only with no build, the clean alternative is skip_build: true in the workflow-ci.yml caller (the designed no-build mechanism) rather than carrying a dummy script. Either way, remove the dummy build.
Not an upstream issue
CLDMV/.github's @v4 already honors skip_build and coverage_build_command end-to-end (both coverage jobs thread them through) — no .github change is needed. This is purely a per-repo build-setup task.
changed the title [-]CI: no-op `build` script is a stopgap for the coverage-badge leg[/-][+]Add a proper build step (dummy `build` is a temporary CI stopgap)[/+]on Jul 29, 2026
The stopgap described above is gone; the repo now has a real build, merged into next:
feat: build dist/ and bin/ with tsup instead of shipping source #56 (a39e8ca) — tsup builds dist/index.mjs and bin/fix-headers.mjs from src/; build runs tsup, build:ci runs lint + format:check + types + build, and the published package ships dist//bin//types/ instead of source. The dummy echo build and the skip_build alternative are both gone.
priority: lowMinor issue or improvement that can be deferred without impactstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: ciChanges to CI workflows, actions, or build pipelines
Activity
[-]CI: no-op `build` script is a stopgap for the coverage-badge leg[/-][+]Add a proper build step (dummy `build` is a temporary CI stopgap)[/+]Shinrai commentedon Sep 28, 2026
The stopgap described above is gone; the repo now has a real build, merged into
next:dist/index.mjsandbin/fix-headers.mjsfromsrc/;buildruns tsup,build:ciruns lint + format:check + types + build, and the published package shipsdist//bin//types/instead of source. The dummyechobuild and theskip_buildalternative are both gone.dist/index.cjsis a ~1 kB wrapper thatrequire()sdist/index.mjsinstead of a second full bundle, and the build is minified (dist/index.mjs24.0 kB,dist/index.cjs1.2 kB,bin/fix-headers.mjs30.4 kB).Ships in v1.4.0 (release PR #47); this issue closes when that release lands on
master.release: v2.0.0 - re-cut the release notes as v2.0.0