Skip to content

Enable testing across lib combinations #679

@voxpelli

Description

@voxpelli

It's great to be able to test with different TS versions out of the box, but when building a module that others will use it can be really important to also test that it works when different combinations of libs are activated (es2020, es2022, esnext, dom etc)

If one used to be compatible with es2020 and accidentally become incompatible in a minor release without intention, then that would be great to catch in CI.

I already do this in eg. my typed-utils repository but I have to take the detour of modifying the tsconfig before each test, which is only really feasible on CI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions