Skip to content

CI: verify compiled output is committed - #148

Merged
donatj merged 3 commits into
masterfrom
ci/check-compiled-artifacts
Jul 27, 2026
Merged

CI: verify compiled output is committed#148
donatj merged 3 commits into
masterfrom
ci/check-compiled-artifacts

Conversation

@donatj

@donatj donatj commented Jul 27, 2026

Copy link
Copy Markdown
Member

Adds a post-build check that fails when the committed dist directory does not match the TypeScript compiler output.

Also regenerates the two stale dist files so the check passes from its first run.

Copilot AI review requested due to automatic review settings July 27, 2026 01:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a CI guardrail to ensure the committed dist/ directory stays in sync with TypeScript compiler output, and updates the currently-stale compiled artifacts so the new check passes immediately.

Changes:

  • Add a CI step that fails the build if npm run build produces diffs under ./dist.
  • Regenerate stale compiled output in dist/ (including CLI output behavior and package metadata).

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

File Description
dist/pkg.json Updates generated package metadata (version/bin path) to match current source/package state.
dist/bin.js Updates generated CLI output to match current TypeScript source behavior.
.github/workflows/ci.yml Adds a post-build check intended to enforce that committed dist/ matches build output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
@donatj
donatj merged commit c498532 into master Jul 27, 2026
2 checks passed
@donatj
donatj deleted the ci/check-compiled-artifacts branch July 27, 2026 02:54
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.

2 participants