Skip to content

Update Node version to address deprecation warning.#148

Merged
p0deje merged 1 commit intobazel-contrib:mainfrom
alsutton:update_node_version
Mar 13, 2026
Merged

Update Node version to address deprecation warning.#148
p0deje merged 1 commit intobazel-contrib:mainfrom
alsutton:update_node_version

Conversation

@alsutton
Copy link
Contributor

GitHub have deprecated NodeJS v20 as an environment for actions, and will be using NodeJS v24 for all actions from 2nd June 2026[1].

Currently GitHub runners print a deprecation warning in their logs showing all actions that use the node20 environment, which includes setup-bazel, so I'm updating the action to use node24, and so remove it from the deprecation warning.

[1] https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

GitHub have deprecated NodeJS v20 as an environment for actions,
and will be using NodeJS v24 for all actions from 2nd June 2026[1].

Currently GitHub runners print a deprecation warning in their logs
showing all actions that use the node20 environment, which includes
setup-bazel, so I'm updating the action to use node24, and so remove
it from the deprecation warning.

[1] https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
@p0deje p0deje merged commit 7ff4255 into bazel-contrib:main Mar 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants