Skip to content

Support node22 in runs.using for JavaScript actions #3600

Description

@sergei-startsev

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions