Skip to content

ci: bump Node.js 20 (EOL) -> 22 LTS in CI workflows#30

Merged
d0choa merged 1 commit into
mainfrom
security/bump-node-lts
Jun 19, 2026
Merged

ci: bump Node.js 20 (EOL) -> 22 LTS in CI workflows#30
d0choa merged 1 commit into
mainfrom
security/bump-node-lts

Conversation

@d0choa

@d0choa d0choa commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Bumps the CI/build Node.js runtime off the end-of-life Node 20, addressing an outdated-component finding (CWE-1104) from a recent security audit of this repo.

  • .github/workflows/ci.yaml: node-version: '20''22'
  • .github/workflows/build-and-image.yaml: node-version: '20''22'

Node.js 20 ("Iron") reached end-of-life on 2026-03-24, so it no longer receives security or bug fixes. The frontend build + npm dependency install run in CI on that runtime. Node 22 is the current Active LTS and satisfies the toolchain's engine requirements (e.g. Vite 7 needs >=20.19 || >=22.12).

Scope / verification

  • CI runtime only — no application code, no dependency changes, and ui/package-lock.json is untouched.
  • Only the two node-version values change; setup-node caching config is unchanged.
  • The frontend build is validated by CI under Node 22.

Node.js 20 reached end-of-life on 2026-03-24. Bump the setup-node
toolchain in both GitHub Actions workflows to Node 22 (Active LTS),
which also satisfies Vite 7's engine requirement (>=20.19 || >=22.12).

Addresses CWE-1104 (use of unmaintained third-party component).
@d0choa d0choa requested a review from daviddamilola June 19, 2026 10:58
@d0choa d0choa merged commit 9afd7e6 into main Jun 19, 2026
1 check passed
@d0choa d0choa deleted the security/bump-node-lts branch June 19, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants