Skip to content

Declare the node24 runtime - #5

Open
Michal-Kucera wants to merge 1 commit into
mainfrom
chore/node24-runtime
Open

Michal-Kucera wants to merge 1 commit into
mainfrom
chore/node24-runtime

Conversation

@Michal-Kucera

Copy link
Copy Markdown

Description

Declares the node24 runtime instead of node20 in action.yml, restore/action.yml and save/action.yml. dist/ is untouched.

Motivation and Context

Every job using this action warns:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ced6445…, ced6445…

The runner already forces this exact bundle onto Node 24, and it works there. Declaring node24 makes the manifest say what actually runs and silences the warning. It does not change behaviour.

This deliberately does not rebase onto upstream actions/cache v5. That would mean re-syncing the customised github-actions-toolkit local-cache backend (see finmid-README.md), which is a much bigger change.

How Has This Been Tested?

Ran all four bundles (dist/{restore,save,restore-only,save-only}/index.js) under Node v24.18.0. Each loads its full module graph and falls back gracefully with no cache backend (cache-hit=false), the same as on Node 20.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Not rolled out. Consumers pin this action by SHA (backend/build, frontend workflows), so nothing changes until a tag (suggest 1.0.2) and a pin bump. finmid/actions backend/build follows separately.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants