Skip to content

ci: add verify workflow with dist freshness check#2

Merged
zients merged 1 commit into
mainfrom
ci/verify-workflow
Jun 5, 2026
Merged

ci: add verify workflow with dist freshness check#2
zients merged 1 commit into
mainfrom
ci/verify-workflow

Conversation

@zients

@zients zients commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Adds a CI workflow that runs on pull requests and pushes to main.

The verify job:

  1. npm ci
  2. npm run verify — typecheck, tests, and build
  3. git diff --exit-code dist — fails if the committed dist/ bundle drifts from src/, so the published action can never ship stale logic.

smoke-test.yml is left untouched and keeps doing the end-to-end "run the action, assert an SVG is produced" check.

Verified locally: typecheck passes, 65 tests pass, build produces no dist/ diff.

Run typecheck, tests, and build on pull requests and pushes to main,
then fail if the committed dist/ bundle drifts from src/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@zients zients merged commit 7202657 into main Jun 5, 2026
1 check passed
@zients zients deleted the ci/verify-workflow branch June 5, 2026 02:41
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.

1 participant