Skip to content

ci: add nodejs v18 - v24 to test matrix #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Phillip9587
Copy link
Contributor

This pull request updates the Node.js versions tested in the CI workflow to include newer releases.

@Phillip9587 Phillip9587 requested a review from bjohansebas June 19, 2025 15:42
@@ -6,9 +6,21 @@ var util = require('util')

var createError = require('..')

// eslint-disable-next-line node/no-deprecated-api
var isError = typeof Error.isError === 'function' ? Error.isError : util.isError
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

util.isError reached EOL in Node v23 and Error.isError was introduced in Node 24 so we don't have a isError function in Node 23. We could use a instanceof Error check but i am not sure if we should or if we should just disable the test for Node 23.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in favor of using instanceof Error, I don't think we should disable the test.

@Phillip9587 Phillip9587 requested a review from UlisesGascon June 24, 2025 12:45
@bjohansebas
Copy link
Member

v23 is failing

@Phillip9587
Copy link
Contributor Author

v23 is failing

Please take a look at my comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants