Skip to content

Node.js 20 deprecation warning caused by actions/github-script dependency #1919

@bruce1961

Description

@bruce1961

Description

When using codecov/codecov-action@5.5.2, GitHub Actions shows a warning that a dependency is running on Node.js 20.

GitHub message:

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected:
actions/github-script@60a0d83

Actions will be forced to run with Node.js 24 by default starting June 2, 2026.

Workflow snippet

- uses: codecov/codecov-action@5.5.2
  with:
    files: coverage.xml

Question

It appears codecov-action is pulling in actions/github-script pinned to a commit that still runs on Node.js 20.

Is there a newer version of codecov-action that supports Node.js 24 or removes this dependency?

Thanks.

Node.js 20 actions are deprecated..txt

main.yml

Metadata

Metadata

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