Add multi-Node version CI testing (18, 20, 22, 23) #235
+6
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Packages built with Node 18 fail when users install with newer Node versions. CI only tests against Node 18, missing compatibility issues.
Changes
.github/workflows/lint-test.yml: Add matrix strategy testing Node 18, 20, 22, 23 (8 jobs total: 4 versions × lint/test).github/actions/release/action.yml: Upgrade release builds from Node 18.x → 20.x (active LTS)package.json: Update engines constraint from>=14.0.0→>=18.0.0.nvmrc: Add with value20for consistent local developmentImpact
CI now catches Node version incompatibilities pre-merge. Releases use stable Node 20 LTS while packages remain compatible across 18-23.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
google.com/usr/local/bin/node node /home/REDACTED/work/npm-catalogue/npm-catalogue/node_modules/.bin/../jest/bin/jest.js --coverage --verbose --runInBand --detectOpenHandles --forceExit(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.