Skip to content

ci: test on Node 22 - #2

Merged
devin-ai-integration[bot] merged 1 commit into
masterfrom
feat/node-22-minimum
Nov 26, 2026
Merged

devin-ai-integration[bot] merged 1 commit into
masterfrom
feat/node-22-minimum

Conversation

@pyramation

@pyramation pyramation commented Nov 26, 2026 •

Copy link
Copy Markdown

Summary

Node 20 and older are end of life, so the test matrix now runs on 22 and lts/* instead of Node 12. That also removes the npm workaround that was only needed for Node 12. Releases still use Node 24, and engines is unchanged.


libpg-query and parser opened this PR for Dan
Implemented in session Audit parser repos for Node 22 minimum
Review with Devin · Open in Devin Desktop


Summary by CodeRabbit

  • Chores
    • Updated the automated test environment to use Node.js 22 as its minimum version.
    • Removed the conditional npm 8 installation step for Node.js 12.

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@luxor-code-review

luxor-code-review Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 1 nitpick below.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 Bump MIN_NODE_VERSION to 22 without updating engines (package.json) — The workflow now tests a minimum of Node 22 (.github/workflows/test.yml:3) and the Node 12 npm-8 workaround was removed, but package.json:12 still declares "node": ">=12.0.0".

The change modernizes CI to target Node 22 as the new minimum, dropping the legacy Node 12 setup step. One consistency issue remains in the package metadata.

Files Change
.github/workflows/test.yml Bumps MIN_NODE_VERSION to 22 and removes the npm-8-on-Node-12 install step.
package.json, cli/package.json Unchanged, but still declare engines.node >=12.0.0, now out of sync with the CI minimum.

Reviewed commit: 17eed69

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Test Workflow

Layer / File(s) Summary
Node.js and npm setup
.github/workflows/test.yml
The workflow sets the minimum Node.js version to 22 and removes the Node 12-specific npm 8 installation step.

Suggested reviewers: dcodeio

Change: Other

Merge Risk: Minimal · up to 17eed

This updates the CI test matrix to supported Node.js versions and removes an obsolete workaround. It does not change runtime behavior or the published engines setting, so merge risk is minimal.

Architecture risk: Low · up to 17eed

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .github/workflows/test.yml: The MIN_NODE_VERSION default changes from "12" to "22", updating the minimum Node.js version used by the test matrix.
  • observed — Modified behavior in .github/workflows/test.yml: The Node 12-specific step that globally installed npm 8 was removed; the test job no longer selects that npm version for Node 12.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Usage-based review receipt

  • Mode: Continue automatically
  • Reviewed files: 1
  • Waived: $0.25 (charged $0.00)
  • View usage details

Note

This review exceeded your plan’s limits and used usage-based reviews—free during trial, billed after paid activation unless disabled. Manage usage-based reviews.

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: 0ee4391a-2dec-45c9-b724-9cda80aa0a07
Commits

Reviewing files that changed from the base of the PR and between b51221a and 17eed69.

Files selected for processing: 1

  • .github/workflows/test.yml

Limit details: You’ve used all 10 included reviews currently available.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration
devin-ai-integration Bot merged commit bfed546 into master Nov 26, 2026
10 checks passed
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