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

Support node22 in runs.using for JavaScript actions #3600

Open
sergei-startsev opened this issue Nov 28, 2024 · 2 comments
Open

Support node22 in runs.using for JavaScript actions #3600

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

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

3 participants