Skip to content

CI | Bump Node.js to 22 - #47

Merged
BrianGenisio merged 3 commits into
mainfrom
ci/node-22
Aug 7, 2026
Merged

CI | Bump Node.js to 22#47
BrianGenisio merged 3 commits into
mainfrom
ci/node-22

Conversation

@BrianGenisio

Copy link
Copy Markdown
Contributor

Summary

CI was failing the PR workflow even when unit assertions looked green. Vitest could not start the jsdom worker for tests/dom/render.test.js on Node 20, so the run exited with one unhandled error.

Changes

Bumps actions/setup-node from Node 20 to Node 22 in pr.yml and release.yml.

jsdom@30 / undici@8 need Node >=22.19. Local runs on Node 26 passed; CI on 20 crashed before the DOM suite started. 22 is the oldest LTS that matches those engines.

Test plan

  • Confirm the PR check job installs Node 22 and npm test completes with the DOM suite (no unhandled Vitest worker error)
  • Confirm later steps (build, axe) are no longer skipped solely because unit tests failed

Brian Genisio and others added 3 commits August 7, 2026 16:44
jsdom 30 and undici require Node >=22.19; Node 20 CI failed the DOM suite with an unhandled Vitest worker error.

Co-authored-by: Cursor <cursoragent@cursor.com>
OctavusClient requires baseUrl/apiKey at construction; CI only had AGENT_ID, so the server crashed before the stubbed audit could run.

Co-authored-by: Cursor <cursoragent@cursor.com>
checkout@v6, setup-node@v6, and upload-artifact@v7 clear the Node 20 deprecation warning on GitHub-hosted runners.

Co-authored-by: Cursor <cursoragent@cursor.com>
@BrianGenisio
BrianGenisio marked this pull request as ready for review August 7, 2026 20:52
@BrianGenisio
BrianGenisio merged commit dac792f into main Aug 7, 2026
2 checks passed
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0a0a0930-3b43-45cd-a43d-432787e0e6fd

📥 Commits

Reviewing files that changed from the base of the PR and between 58ff369 and 11f65a0.

📒 Files selected for processing (2)
  • .github/workflows/pr.yml
  • .github/workflows/release.yml

📝 Walkthrough

Walkthrough

The CI and release workflows now use checkout and Node setup actions at version 6. They configure Node.js 22 instead of Node.js 20. Artifact uploads now use version 7. The pull request workflow passes separate placeholder values for the Octavus API URL, API key, and agent ID to the CI server.


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

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