fix(ci-cd): bump github actions to node 24 runtimes - #176
Open
piyushsinghgaur1 wants to merge 1 commit into
Open
fix(ci-cd): bump github actions to node 24 runtimes#176piyushsinghgaur1 wants to merge 1 commit into
piyushsinghgaur1 wants to merge 1 commit into
Conversation
Clears the "Node.js 20 is deprecated" GitHub Actions annotation by moving every first-party action to a major that declares using: node24. - bump actions/checkout from v4 to v5 in audit.yml, main.yml, release.yml, sync-docs.yaml and trivy.yaml - bump actions/setup-node from v4 to v5 in audit.yml, main.yml and release.yml - bump node-version from 22.x to 24.x in audit.yml - bump node-version from '22' to '24' in release.yml - drop the stale "UPDATED to v4" comment on the release.yml setup-node step - leave the main.yml test matrix at [22, 24]; it already covers node 24 and dropping 22 would reduce coverage - leave the SHA-pinned aquasecurity/trivy-action step untouched GH-175
|
piyushsinghgaur1
marked this pull request as ready for review
August 17, 2026 09:29
Sourav-kashyap
approved these changes
Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
The workflows in this repo emit a Node.js 20 deprecation warning on every run:
GitHub has removed Node 20 from its runners and force-runs Node 20 actions on Node 24. Builds still succeed, but the annotation appears on every run and becomes a hard failure once the compatibility shim is dropped.
This moves every affected first-party action onto a major that declares
using: node24, and raises anynode-versionstill below 24.Action pins
.github/workflows/audit.ymlactions/checkout@v4actions/checkout@v5.github/workflows/audit.ymlactions/setup-node@v4actions/setup-node@v5.github/workflows/main.ymlactions/checkout@v4actions/checkout@v5.github/workflows/main.ymlactions/setup-node@v4actions/setup-node@v5.github/workflows/release.ymlactions/checkout@v4actions/checkout@v5.github/workflows/release.ymlactions/setup-node@v4actions/setup-node@v5.github/workflows/sync-docs.yamlactions/checkout@v4actions/checkout@v5.github/workflows/sync-docs.yamlactions/checkout@v4actions/checkout@v5.github/workflows/trivy.yamlactions/checkout@v4actions/checkout@v5Node versions
.github/workflows/audit.yml22.x24.x.github/workflows/release.yml'22''24'Each target major was verified to declare
using: node24by reading itsaction.ymlat the pinned tag.Deliberately unchanged
aquasecurity/trivy-action@<sha>) are untouched; SHA pinning is correct practice and unrelated to the Node runtime.Fixes #175
Type of change
How Has This Been Tested?
using: node24in itsaction.ymlScope of this change: 5 file(s) — 5 files changed, 11 insertions(+), 11 deletions(-). CI configuration only; no application source touched.
The warning can be confirmed gone by running a workflow and checking the run summary's Annotations section.
Checklist: