Skip to content

ci: run the checks on pull requests - #7

Open
faustienf wants to merge 2 commits into
mainfrom
ci/pull-request-checks
Open

ci: run the checks on pull requests#7
faustienf wants to merge 2 commits into
mainfrom
ci/pull-request-checks

Conversation

@faustienf

Copy link
Copy Markdown
Owner

Nothing verified a change before it was merged. The checks lived in the git hooks, which --no-verify skips, and in the release workflow, which only runs once a version has already been tagged — PRs #1 through #6 all merged without a single automated check.

CI runs type checking, the test suite with coverage, the build (which carries publint and are-the-types-wrong) and the example's type check, on Node 22 and 24. Older Node is not testable here: tsdown needs ^22.18.0 || >=24.11.0 and jsdom needs ^22.22.2 || ^24.15.0 || >=26.0.0, both well above the engines floor of 18. That floor is about importing the published bundle — browser code with no Node API in it — which this suite would not exercise anyway.

Coverage was already a dependency but never actually run: nothing invoked @vitest/coverage-v8 and there was no vitest config. It reports 100% on every metric, so the threshold is set there — new code arrives with tests or the run goes red. The text reporter is swapped for text-summary: on vitest 4.1.10 it renders an empty file table even though the data behind it is correct (coverage-final.json and the HTML report both list the file).

Hooks: with CI covering this, the slower half of pre-commit moves to pre-push. Committing stays quick, and nothing reaches the remote without the publishable package being validated.

Dependabot watches the actions and the devDependencies monthly, grouped into one pull request.

Also records 1.2.1 in the changelog — it shipped during the changelog rewrite and never got an entry.

🤖 Generated with Claude Code

Nothing verified a change before it was merged. The checks lived in the git
hooks, which --no-verify skips, and in the release workflow, which only runs
once a version has already been tagged — PRs #1 through #6 all merged without
a single automated check.

The workflow runs type checking, the test suite with coverage, the build (which
carries publint and are-the-types-wrong) and the example's type check, on Node
22 and 24. Older Node is not testable here: tsdown needs ^22.18.0 || >=24.11.0
and jsdom needs ^22.22.2 || ^24.15.0 || >=26.0.0, well above the engines floor
of 18. That floor is about importing the published bundle — browser code with
no Node API in it — which this suite would not exercise anyway.

Coverage was already wired up as a dependency but never actually run: nothing
invoked @vitest/coverage-v8 and there was no vitest config. It reports 100% on
every metric, so the threshold is set there — new code arrives with tests or the
run goes red. The text reporter is swapped for text-summary because it renders
an empty file table on vitest 4.1.10 while the data behind it is correct.

With CI covering this, the slower half of pre-commit moves to pre-push, so
committing stays quick and nothing reaches the remote unvalidated.

Dependabot watches the actions and the devDependencies monthly, grouped into one
pull request.
It shipped while the changelog was being rewritten and never got an entry. The
release carries no library change at all — only the move to publishing from CI —
so the section says that rather than inventing user-facing notes.
@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
easing-scroll Ready Ready Preview Aug 16, 2026 4:27pm

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