Skip to content

Use pkgjs/action for CI to auto-upgrade to latest nodes #1071

@dominykas

Description

@dominykas

(Not following a template - this is more of a chore, not a bug or a feature)

The CI workflow used here is almost identical to a standard Node.js library testing pattern (checkout, npm install, npm test).

As part of Package Maintenance WG, I've recently created pkgjs/action - it basically does that standard Node testing pattern, but it automatically maintains the test matrix for you, i.e. it will automatically detect the lowest supported (major) version from engines field and will automatically add new Node.js versions as they come out.

As the action is pretty new, I'd like to get some battle testing for it, as we're entering an LTS upgrade season.

Would people mind if I opened a PR to start using it here? I'm willing to take on the maintenance of that until we feel it's stable (although I figure it will be a straight drop-in, with a side effect of starting testing in Node.js 17).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions