Skip to content

node-integration.yml workflow uses deprecated actions based on node16 & node20 #9834

Description

@MikeMcC399

Situation

If the GitHub Actions .github/workflows/node-integration.yml workflow "nodejs integration" is run, it outputs multiple deprecation warnings, for example:

generate matrix
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/github-script@v6. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

build nodejs@nightly npm@12.0.2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

citgm - JSONStream@1.3.5
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v3, actions/download-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

The actions causing warnings are defined with runs.using either node16 or node20. Both of these are deprecated and correspond to end-of-life Node.js versions.

Suggestion

Update action usage in scripts/template-oss/node-integration-yml.hbs to latest versions with runs.using node24:

Current runs.using Latest
actions/cache@v3 node16 actions/cache@v6
actions/download-artifact@v4 node20 actions/download-artifact@v8
actions/github-script@v6 node16 actions/github-script@v9
actions/upload-artifact@v4 node20 actions/upload-artifact@v7

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions