Description
Node.js 20 transitioned into end-of-life on 2026-04-30, with the lowest supported Node.js version moving up to Node.js 22.
Node.js 20 is now unsupported according to the Node.js organization.
ubuntu-latest, equivalent to ubuntu-24.04, sets Node.js 20 as the default installed version. macOS and Windows latest runner images already use Node.js 22.
ubuntu-latest should provide a runner image that sets the installed Node.js version to 22 to align with other *-latest tags.
Platforms affected
Runner images affected
Image version and build link
Image: ubuntu-24.04
Version: 20260309.50.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20260309.50/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260309.50
Is it regression?
No
Expected behavior
Provide an ubuntu-latest image which defaults to a Node.js version that has continued support after 2026-04-30. That would be either Node.js 22 (Maintenance LTS) or Node.js 24 (Active LTS).
Actual behavior
The default installed version of ubuntu-latest is Node.js 20.20.2 which is now unsupported.
Repro steps
name: ci
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Node version
run: node -v
Description
Node.js 20 transitioned into end-of-life on 2026-04-30, with the lowest supported Node.js version moving up to Node.js 22.
Node.js 20 is now unsupported according to the Node.js organization.
ubuntu-latest, equivalent to ubuntu-24.04, sets Node.js 20 as the default installed version. macOS and Windowslatestrunner images already use Node.js 22.ubuntu-latestshould provide a runner image that sets the installed Node.js version to 22 to align with other*-latesttags.20.20.120.20.222.22.022.22.222.22.022.22.2Platforms affected
Runner images affected
Image version and build link
Image: ubuntu-24.04
Version: 20260309.50.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20260309.50/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260309.50
Is it regression?
No
Expected behavior
Provide an
ubuntu-latestimage which defaults to a Node.js version that has continued support after 2026-04-30. That would be either Node.js 22 (Maintenance LTS) or Node.js 24 (Active LTS).Actual behavior
The default installed version of
ubuntu-latestis Node.js 20.20.2 which is now unsupported.Repro steps