Skip to content

ci: add TypeScript version matrix (5.x, 6, 7) for type tests #48

Description

@martyy-code

Description

Add a CI job that runs the type tests against TypeScript 5.x, 6, and 7 in parallel. Consumers of the library need to know their types work across the TypeScript versions they support.

Why

TypeScript libraries often need to declare a minimum version (e.g. TS 5.0) but don't verify that types actually pass on older versions. A version matrix gives consumers confidence and catches regressions before they're published.

Acceptance criteria

  • CI matrix includes TS 5.x, 6, 7
  • All three versions pass
  • Failure on any version blocks the PR
  • Documented in README

Risks

  • Low. TS 7 has no breaking type-system changes, but running the matrix ensures this stays true.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ciWorkflows, dependabot, toolingenhancementNew feature or request

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions