question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support node20 in runs for JavaScript actions

See original GitHub issue

It would be very handy if Node 20 was supported in runs for Javascript actions, so that you could do:

runs:
  using: 'node20'
  main: 'index.js'

But currently only node12 and node16 are available, which is strange because all runners default to node18 now.

Issue Analytics

  • State:open
  • Created 4 months ago
  • Reactions:19
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

17reactions
takostcommented, Aug 15, 2023

Hello, latest runner release (2.308.0) contains latest node16 version and node20 version. This runner version will be fully rolled-out by the end of this week. After release you will be able to use 'node20' actions

6reactions
MikeMcC399commented, Jul 18, 2023

Without a resolution to this issue there is no long-term future for GitHub JavaScript Actions. It is difficult to understand why there has been no response so far. It’s a critical piece of functionality to provide an upgrade path.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a JavaScript action
In this guide, you'll learn how to build a JavaScript action using the actions toolkit.
Read more >
Node.js 20 is now available!
As a reminder, Node.js 20 will enter long-term support (LTS) in ... foo.mjs ) now run in a dedicated thread, isolated from the...
Read more >
Test runner | Node.js v20.5.1 Documentation
The node:test module facilitates the creation of JavaScript tests. ... The Node.js test runner supports running in watch mode by passing the --watch...
Read more >
Should I switch to Node 20 or 22 from 18? : r/reactjs
I am thinking about switching over to Node 20 or Node 22. ... node will always execute valid javascript - the node version...
Read more >
Node 18 Is Now Available in Beta for Actions
The Node 18 release allows us to get closer to reaching our mission of supporting all future versions of LTS Node.js through Actions....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found