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

ci: Add Node.js 20.x to CI and remove 14.x #1603

Merged
merged 6 commits into from
Jul 24, 2023
Merged

Conversation

bizob2828
Copy link
Member

@bizob2828 bizob2828 commented Apr 19, 2023

Proposed Release Notes

Links

Closes #1726

Details

This was mostly a clean upgrade. I have skipped the ESM tests as we know the ESM loader isn't working. I will unleash those tests when I PR that fix. The highlights here are that server.close changed behavior so I just made tests bind to dynamic ports to workaround this issue. There's also 2 features that no longer ship with node around dtrace and etw.

@bizob2828 bizob2828 changed the title updates to see how Node 20 does in CI Node 20 CI Apr 19, 2023
@bizob2828 bizob2828 force-pushed the node-20 branch 2 times, most recently from a798d24 to 025a985 Compare July 20, 2023 18:15
@bizob2828 bizob2828 changed the title Node 20 CI ci: Add Node.js 20.x to CI and remove 14.x Jul 20, 2023
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #1603 (da84524) into main (9bf2a01) will decrease coverage by 0.02%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##             main    #1603      +/-   ##
==========================================
- Coverage   96.87%   96.85%   -0.02%     
==========================================
  Files         200      200              
  Lines       39191    39205      +14     
  Branches       25       23       -2     
==========================================
+ Hits        37966    37972       +6     
- Misses       1225     1233       +8     
Flag Coverage Δ
esm-unit-tests-14.x ?
esm-unit-tests-16.x 92.43% <ø> (ø)
esm-unit-tests-18.x 92.43% <ø> (ø)
integration-tests-14.x ?
integration-tests-16.x 79.11% <82.35%> (-0.02%) ⬇️
integration-tests-18.x 79.11% <82.35%> (-0.02%) ⬇️
integration-tests-20.x 79.12% <94.11%> (?)
unit-tests-14.x ?
unit-tests-16.x 91.46% <82.35%> (-0.01%) ⬇️
unit-tests-18.x 91.44% <82.35%> (-0.01%) ⬇️
unit-tests-20.x 91.43% <94.11%> (?)
versioned-tests-14.x ?
versioned-tests-16.x 77.03% <82.35%> (-0.08%) ⬇️
versioned-tests-18.x 77.03% <82.35%> (-0.08%) ⬇️
versioned-tests-20.x 75.88% <93.33%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/environment.js 90.68% <93.33%> (+0.23%) ⬆️
index.js 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bizob2828 bizob2828 marked this pull request as ready for review July 20, 2023 18:40
@bizob2828
Copy link
Member Author

There are 2 smoke test files failing on 20 because of the self-signed cert. I'm triaging that separately.

jmartin4563
jmartin4563 previously approved these changes Jul 24, 2023
@bizob2828 bizob2828 merged commit c4b008c into newrelic:main Jul 24, 2023
16 of 18 checks passed
@github-actions github-actions bot mentioned this pull request Jul 26, 2023
@bizob2828 bizob2828 deleted the node-20 branch August 28, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add Node 20
2 participants