Skip to content

Bump Node 20 → 22 (Dockerfile + Pages workflow) - #33

Open
sandman21vs wants to merge 1 commit into
bitaxeorg:mainfrom
sandman21vs:node22-upstream
Open

sandman21vs wants to merge 1 commit into
bitaxeorg:mainfrom
sandman21vs:node22-upstream

Conversation

@sandman21vs

@sandman21vs sandman21vs commented Oct 23, 2026 •

Copy link
Copy Markdown

Node 20 reached end-of-life and no longer receives security fixes (e.g. CVE-2026-111497, Brotli decoder RCE, is only patched in 22.23.4 / 24.22.1 / 26.12.1).

  • Dockerfile: node:20-alpine → node:22-alpine
  • .github/workflows/nextjs.yml: node-version: "20" → "22"

The deployed Pages site is static and not affected at runtime; this mainly matters for people self-hosting via the Dockerfile. Tested: docker build and next build pass on Node 22.23.4.

Summary by CodeRabbit

  • Chores
    • Updated the build workflow and Docker image to use Node.js 22 instead of Node.js 20.

Node 20 is end-of-life and no longer receives security fixes
(e.g. CVE-2026-111497, Brotli decoder RCE, patched only in 22.23.4 /
24.22.1 / 26.12.1).
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 419b2b1f-f2e0-4aa4-95b6-4d4a7ea5c4ec
📥 Commits

Reviewing files that changed from the base of the PR and between 1cc6970 and 84426d4.

📒 Files selected for processing: 2
  • .github/workflows/nextjs.yml
  • Dockerfile

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The GitHub Pages workflow and Docker image now use Node.js 22 instead of Node.js 20.

Changes: Node.js Runtime Upgrade

Layer / File(s) Summary
Update runtime versions
.github/workflows/nextjs.yml, Dockerfile
The workflow setup and Docker base image now use Node.js 22. Other Dockerfile instructions remain unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: shufps, wantclue

Merge Risk: ⚪ Minimal · up to 84426

The runtime upgrade is compatible with the repository’s current build and deployment configuration.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating Node.js from version 20 to version 22 in the Dockerfile and Pages workflow.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
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.

1 participant