Skip to content

Support node22 in runs.using for JavaScript actions #3600

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
sergei-startsev opened this issue Nov 28, 2024 · 6 comments
Open

Support node22 in runs.using for JavaScript actions #3600

sergei-startsev opened this issue Nov 28, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@sergei-startsev
Copy link

sergei-startsev commented Nov 28, 2024

Describe the bug

Specifying node22 as the runtime for JavaScript actions results in System.ArgumentOutOfRangeException error.

Node.js v22 transitioned into LTS On October 29, 2024

To Reproduce

runs:
  using: 'node22'
  main: 'main.js'

Expected behavior

Runner Version and Platform

  • Current runner version: 2.321.0
  • Operating System: Ubuntu 24.04.1 LTS

What's not working?

Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node22' is not supported, use 'docker', 'node12', 'node16' or 'node20' instead.')
   at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
@sergei-startsev sergei-startsev added the bug Something isn't working label Nov 28, 2024
@dipakparmar
Copy link

+1 for this.

@iamstarkov
Copy link

this would be lovely because node22 had been LTS for some time now

@albertodiazdorado
Copy link

+1

@runspired
Copy link

seems like no one can use any of the great new node features in any actions until this is fixed as repo code run using an action is constrained to <= node 20 😭

edm00se added a commit to edm00se/the-good-place that referenced this issue Feb 24, 2025
11notes added a commit to 11notes/action-docker-readme that referenced this issue Feb 26, 2025
11notes added a commit to 11notes/action-docker-readme that referenced this issue Feb 26, 2025
11notes added a commit to 11notes/docker-github-workflow that referenced this issue Feb 26, 2025
@MikeMcC399
Copy link

  • There is a long-running related discussion actions/runner nodejs plan and next steps #2704 although so far there hasn't been any response to the question of node22 support
  • Node.js 22 is the Active LTS version until Oct 28, 2025 when the up-coming Node.js 24 is planned to take over the Active LTS role. Node.js 24's initial release is planned for Apr 22, 2025.

@MikeMcC399
Copy link

@nebuk89

In #2704 (comment) you wrote

Sorry for the slowness on what comes next after node20! I was out for a few months but now I am back I will pick up with the team and start the annual wheel turn of moving up our node versions 🗡

Do you (or anybody else) have any news for us about your concrete plans and timelines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants