pantheon-systems / pantheon-systems/terminus-github-actions

Node 20 Deprecation warning in GitHub Actions

Open Beginner friendly
#42 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
18
Forks
13
Avg merge
22h 4m
Merged PRs (30d)
2

Description

Getting Node warnings on action/cache/save@v4 and action/cache/restore@v4 in GitHub Actions to upgrade from Node 20 (v4). Has @v5 been tested to run node 24?

Warning: Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/cache/save@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

action/cache/restore@v4
action/cache/save@v4

Reference: https://github.com/actions/cache

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with action.yml at the references on lines 63 and 123, then review the available actions/cache version that supports Node 24. Update the referenced versions if appropriate and run the GitHub Actions workflow to confirm the Node 20 deprecation warnings are gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.