GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Upgrade from node16 to node20 by Nishnha · Pull Request #1050 · github/dependabot-action

Conversation

@Nishnha

@Nishnha Nishnha commented Sep 21, 2023

Copy link
Copy Markdown
Member

Node16 is now EOL. The next LTS release is node18 which has support until 2025, but node20 has support until 2026.

https://nodejs.dev/en/about/releases/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Nishnha
Nishnha requested a review from a team as a code owner September 21, 2023 18:40
@jakecoffman

jakecoffman commented Sep 21, 2023

Copy link
Copy Markdown
Member

We need to update .nvmrc too.

Nishnha reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Nishnha added 2 commits September 21, 2023 15:21
@Nishnha
Upgrade from node16 to node20
ca17a1a
node16 is now EOL
@Nishnha
Use node 20.7.0
96d4653
@Nishnha
Nishnha force-pushed the nishnha/use-node-20 branch from ea70ef8 to 373e1cb Compare September 21, 2023 19:22
@Nishnha
npm run package
a299e5f
@Nishnha
Nishnha force-pushed the nishnha/use-node-20 branch from 373e1cb to a299e5f Compare September 21, 2023 19:34
jakecoffman
jakecoffman approved these changes Sep 21, 2023
View reviewed changes
@Nishnha
Add forceExit flag to jest test
69be760
@Nishnha

Nishnha commented Sep 21, 2023

Copy link
Copy Markdown
Member Author

It looks like the integration test in https://github.com/github/dependabot-action/actions/runs/6266275183/job/17018392140?pr=1050 ran successfully, but it somehow got stuck? It ran for ~2 hours before I cancelled it. I am also able to reproduce this on my machine by running npm run test-integration

It seems we have open handles preventing jest from closing and we should investigate them in a separate issue.

I ended up committing 69be760 as a patch to quick fix this, since it seems to be a well known bug that jest can just hang when using the --detectOpenHandles flag: jestjs/jest#9473

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Nishnha
Nishnha merged commit f0766f1 into main Sep 22, 2023
@Nishnha
Nishnha deleted the nishnha/use-node-20 branch September 22, 2023 15:14
@Nishnha Nishnha mentioned this pull request Sep 22, 2023
Revert "Upgrade from node16 to node20" #1053
Merged
@honeyankit honeyankit mentioned this pull request Sep 26, 2023
v2.9.0 #1060
Merged
@chenrui333 chenrui333 mentioned this pull request May 2, 2024
feat: bump to use nodejs 20 runtime #1219
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jakecoffman jakecoffman jakecoffman approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Nishnha @jakecoffman
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.