Skip to content

Node.js 20 deprecation warnings (actions/github-script) in nodejs.yml CI workflow #1120

Description

@MikeMcC399

Situation

The Node.js CI workflow nodejs.yml shows multiple deprecation warnings similar to the following:

Test / test (24, macos-latest)
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@60a0d83. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

For example https://github.com/nodejs/citgm/actions/runs/29580573937 and https://github.com/nodejs/citgm/actions/runs/29580573937/job/87885054619

Assessment

uses: pkgjs/action/.github/workflows/node-test.yaml@v0.1
with:
runs-on: ubuntu-latest, macos-latest, windows-latest
test-command: npm run tap -- --coverage-report=lcov
post-test-steps: |
- name: Coverage Report
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0

uses codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00

A minimum of codecov/codecov-action@v6.0.0 is required for node24 support.

The latest version is codecov/codecov-action@v7.0.0.

Suggestion

Update nodejs.yml to use codecov/codecov-action@v7.0.0 (codecov/codecov-action@fb8b358).

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