Skip to content
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

Add node 20 and 22 to test matrix, use node v20.14.0 locally #284

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

lencioni
Copy link
Contributor

This required adjusting an assertion on an error message a bit.

lencioni added 3 commits June 18, 2024 15:56
This will help us ensure that this package works well on these versions
of node.
This is the latest Node LTS version.
When running on Node 18 and older, this error message contains the
"connect ECONNREFUSED" string. But on Node 20+, it does not. This causes
the test to fail:

> Expected pattern: /connect ECONNREFUSED/
> Received message: "request to http://localhost:8990/success failed,
> reason:  (took 1 ms)"

https://github.com/happo/happo.io/actions/runs/9571942826/job/26390148668?pr=276
@lencioni lencioni requested a review from trotzig June 18, 2024 21:11
@lencioni lencioni merged commit 2b6faf6 into master Jun 18, 2024
4 checks passed
@ljharb
Copy link

ljharb commented Jun 18, 2024

if you want your test matrix to be automatically maintained as new node versions come out, consider ljharb/actions/node/install :-)

@lencioni lencioni deleted the node-20-22 branch June 18, 2024 23:38
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