Skip to content

ci: test on Node 22/24/26 and comark min/latest, add knip - #11

Merged
D3ller merged 3 commits into
developfrom
ci/add-matrix-and-knip
Oct 16, 2026
Merged

D3ller merged 3 commits into
developfrom
ci/add-matrix-and-knip

Conversation

@D3ller

@D3ller D3ller commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Run CI on develop as well as main.
  • Test matrix: Node 22, 24, 26 × comark 0.7.0 (lowest supported) and latest, each running typecheck, tests and build.
  • Smoke job: build on Node 24, then run dist/ on Node 20 to keep engines.node >=20 honest (vitest and tsdown no longer support Node 20).
  • Add knip (pnpm knip, run in CI) and stop exporting the two unused types it flagged.

Fix

peerDependencies.comark goes from >=0.4.0 to >=0.7.0. The plugin imports Node, ElementNodeAttributes and ComarkPluginFactory from comark, which only exist since 0.7.0: it fails at runtime before 0.6 and ships broken types on 0.6. Worth mentioning in the next release notes.

The plugin imports Node, ElementNodeAttributes and ComarkPluginFactory
from comark, which only exist since 0.7.0. Older versions fail at runtime
(< 0.6) or ship broken types (0.6).
@D3ller
D3ller merged commit c3b221a into develop Oct 16, 2026
8 checks passed
@D3ller
D3ller deleted the ci/add-matrix-and-knip branch October 16, 2026 09:13
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