update-actions-node-version

Upgrade GitHub Actions to Node 24-compatible releases and pin full SHAs.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/doolin/dave-skills --skill update-actions-node-version
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-actions-node-version
Source: https://github.com/doolin/dave-skills/tree/main/skills/update-actions-node-version
Command: npx skills add https://github.com/doolin/dave-skills --skill update-actions-node-version

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fix GitHub Actions Node.js deprecation warnings by upgrading action versions and, where necessary, forcing the runner to use a newer Node.

Core Features & Use Cases

  • Detect Node.js deprecation warnings in workflows and identify affected actions.
  • Upgrade affected actions to newer major/minor releases that support Node 24.
  • Optionally set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 at the workflow level to cover implicit actions and runner-injected steps.
  • Apply changes across repository workflows to reduce risk of deprecation-related failures.

Quick Start

Identify affected actions in your workflows, upgrade to the latest Node 24–compatible releases, and apply FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 when necessary.

Frequently Asked Questions about update-actions-node-version

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix GitHub Actions Node.js deprecation warnings?

Fix GitHub Actions Node.js deprecation warnings by upgrading affected actions to newer releases supporting Node 24, pinning full commit SHAs, and applying the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 environment flag where necessary.

What does FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 do in GitHub Actions?

FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 is a global workflow environment flag that forces the runner to use Node 24 for lagging implicit actions and runner-injected steps that have not yet upgraded their runtime natively.

How do I upgrade GitHub Actions to a new Node.js version safely?

Safely upgrade GitHub Actions by identifying affected actions from deprecation warnings, verifying new Node 24-compatible releases, pinning full SHAs, and applying the environment flag to cover remaining implicit actions.

Do I need to pin SHAs when upgrading GitHub Actions Node.js versions?

Yes, pinning full commit SHAs is required when upgrading GitHub Actions Node.js versions to ensure immutable, verified releases and prevent supply chain risks after resolving deprecation warnings.

Why are my GitHub Actions workflows failing with Node 20 deprecation warnings?

GitHub Actions workflows fail with Node 20 deprecation warnings because the runtime is outdated; resolve this by upgrading actions to Node 24-compatible versions and forcing the runtime with a global environment flag.

Can I apply a global Node.js version upgrade across all repository workflows?

Yes, you can apply changes across repository workflows by upgrading affected actions to Node 24-compatible releases and setting the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 flag at the workflow level to reduce deprecation failure risks.