Skip to content
Blackman99Public

About

Find GitHub Actions steps still on Node 20 (or older), get the release that runs on Node 24, and rewrite them. CLI + Action.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

actnode logo: a green route shield reading ACT 24

actnode

Node 20 lane ends. Find every GitHub Actions step still on a Node 20 (or older) action, get the release that runs on Node 24, and rewrite it.

Home · Docs · CI

The problem

Since 2026-06-02 GitHub runners run JavaScript actions on Node 24, and jobs that use node20 actions end with "Node.js 20 actions are deprecated. The following actions are running on Node.js 20…". The warning doesn't say which file and line, misses actions hidden inside composite actions, and doesn't say which version fixes it. FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 only hides it (actions/runner#4295) until Node 20 is removed from runners.

Install

pipx install git+https://github.com/Blackman99/actnode

Python 3.9+, zero dependencies. Set GITHUB_TOKEN (e.g. export GITHUB_TOKEN=$(gh auth token)) for repos with many actions.

Use

$ actnode
[OLD] .github/workflows/ci.yml:7    node20  actions/checkout@v4         -> actions/checkout@v5
[OLD] .github/workflows/ci.yml:10   node20  actions/upload-artifact@v4  -> actions/upload-artifact@v6
$ actnode --fix      # rewrite those uses: lines (SHA pins get a SHA + version comment)
$ actnode --fail     # exit 1 if anything is still old
$ actnode --repo owner/name   # API scan, no clone

demo

It reads each action's real action.yml at the exact ref you pin, follows composite actions and reusable workflows, and suggests the smallest major bump that runs on Node 24. Scan a remote repo without cloning: actnode --repo owner/name (or --org owner).

In CI

- uses: actions/checkout@v7
- uses: Blackman99/actnode@v0.2.0   # job summary table; fails if an old-runtime action sneaks back

Full docs: install · usage · Action · reference · FAQ

Goal · Roadmap · Contributing · MIT

About

Find GitHub Actions steps still on Node 20 (or older), get the release that runs on Node 24, and rewrite them. CLI + Action.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages