ci: add node versions from 17 to 22
This PR adds node versions from 17 to 22 to the CI so the tests are run for all the different nodejs versions apart from version 16.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
28a5b27) to head (31d1c4c). Report is 2 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #303 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 621 621
Branches 140 140
=========================================
Hits 621 621
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Why is this useful? The library doesn’t use any node.js features so testing every version seems like overkill. And I’ll have to manually increment the latest version now?
Why is this useful? The library doesn’t use any node.js features so testing every version seems like overkill. And I’ll have to manually increment the latest version now?
I thought this modification would be convenient for consistency with other repositories in the organisation, in which the ci runs on an array of node versions from the original to the latest active one (see this or this), so that you can easily verify that there is no problem with any of the nodejs versions.
Anyway, feel free to discard the PR if you don't find it interesting.
Happy to accept all the other version bumps, but I'd prefer to keep the node.js versions as-is - min version + max version tests only.