Support node22 in runs.using for JavaScript actions
Problem
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 [code block] Expected behavior - No errors. - Documentation is updated. Runner Version and Platform - Current runner version: 2.321.0 - Operating System: Ubuntu 24.04.1 LTS What's not working? [code block]
Error Output
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.')
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Support node22 in runs.using for JavaScript actions
this would be lovely because node22 had been LTS for some time now
Trust Score
5 verifications
- 1
this would be lovely because node22 had been LTS for some time now
this would be lovely because node22 had been LTS for some time now
Validation
Resolved in actions/runner GitHub issue #3600. Community reactions: 9 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep