Skip to content

ci: run on Node 22 - #152

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

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

Conversation

@pyramation

@pyramation pyramation commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Node 20 is end of life, so the three CI setup-node steps move from 20.x to 22.x. The root @types/node was already on 22.


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 Node.js version used by build, test, and policy inventory workflows to 22.x.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

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 issues found — approved ✅.


This PR updates both CI workflows to run on Node 22 across every job, aligning the toolchain with the repository's @types/node ^22 declaration.

Files Change
.github/workflows/ci.yml Raises all job node-version values to 22.x, keeping lint/build/test/publish jobs on one major.
.github/workflows/pnpm-policy-inventory.yml Raises the workflow's node-version to 22.x to match the main CI pipeline.

No defects were identified: Node versions are consistent across jobs and workflows, and pnpm cache/setup steps were not invalidated by the bump.

Reviewed commit: 0939c12

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The CI build and test jobs and the pnpm-policy inventory workflow now use Node.js 22.x instead of 20.x.

Changes: CI Node.js versions

Layer / File(s) Summary
Workflow runtime versions
.github/workflows/ci.yml, .github/workflows/pnpm-policy-inventory.yml
The CI build and test jobs and the pnpm-policy inventory workflow now use Node.js 22.x.

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

Change: Other

Merge Risk: Minimal · up to 0939c

This updates CI workflows to Node 22 because Node 20 has reached end of life. It does not affect production behavior. The change is easy to revert, and the CI run will show any incompatibility, so the merge risk is minimal.

Architecture risk: Low · up to 0939c

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/ci.yml: The build job’s Node.js version changes from 20.x to 22.x.
  • observed — Modified behavior in .github/workflows/ci.yml: The test job’s Node.js version changes from 20.x to 22.x.
  • observed — Modified behavior in .github/workflows/pnpm-policy-inventory.yml: The Node.js setup version changes from 20.x to 22.x.
Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: run on Node 22" matches the main change. Both CI workflow files switch their Node.js setup from 20.x to 22.x, and the PR objectives state the same update, citing Node 20 end of life. Th…
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: Title check

Explanation

The title "ci: run on Node 22" matches the main change. Both CI workflow files switch their Node.js setup from 20.x to 22.x, and the PR objectives state the same update, citing Node 20 end of life. The title is short and specific. It does not name the affected workflows, but that detail is not required.

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
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between c657ed8 and 0939c12.

Files selected for processing: 2

  • .github/workflows/ci.yml
  • .github/workflows/pnpm-policy-inventory.yml

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

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

Copy link
Copy Markdown
Contributor

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 1d37340 into main Nov 26, 2026
66 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