Skip to content

Update actions/setup-node to node24 version #1562

@MikeMcC399

Description

@MikeMcC399

What would you like?

Update documentation and examples to use a version of actions/setup-node that runs using node24

Why is this needed?

Documentation and examples currently use actions/setup-node@v4 which runs.using node20.

The node20 option for GitHub Actions is tied to Node.js 20 that is planned for End-of-life on Apr 30, 2026.

Supports resolution of issue #1519

Other

Edit: Updated with current issue status:

The current version actions/[email protected], used in its basic setup. suffers from a deprecation warning:

(node:1957) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)

Additionally, if package manager caching is selected, actions/[email protected] shows the deprecation warning:

(node:1941) [DEP0169] DeprecationWarning: url.parse() behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for url.parse() vulnerabilities.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions