Skip to content

ci: bump setup-node to Node 22 across all workflows#546

Merged
Dumbris merged 1 commit into
mainfrom
chore/ci-node22
May 30, 2026
Merged

ci: bump setup-node to Node 22 across all workflows#546
Dumbris merged 1 commit into
mainfrom
chore/ci-node22

Conversation

@Dumbris

@Dumbris Dumbris commented May 30, 2026

Copy link
Copy Markdown
Member

Problem

The v0.34.0 release run failed: the build (windows, arm64) job's Setup Node.js step died right after Attempting to download 20....

Root cause

  • windows-latest is migrating to the windows-2025 runner image, which no longer pre-installs Node 20 in the hosted toolcache.
  • With Node 20 absent from the cache, actions/setup-node@v6 falls back to downloading it — an unreliable path. The amd64 Windows job happened to land on an image that still had Node 20 cached and passed; the arm64 job did not and failed.
  • Node 20 was also inconsistent with the project's own requirements: frontend/package.json engines is >=22.18.0 and frontend/.nvmrc already pins 22.

Fix

Pin every workflow's node-version to 22 (current LTS, present in the 2025 toolcache). This removes the flaky download path and matches local dev.

Files touched: release.yml (×2), prerelease.yml, frontend.yml, pr-build.yml, unit-tests.yml, e2e-tests.yml, docs.yml.

Note on v0.34.0

I also re-ran the failed jobs of the original release run to attempt an immediate unblock. If that re-run lands on another Node-20-less image and fails again, re-cut the tag once this is merged.

The v0.34.0 release failed when the windows-arm64 build job's setup-node
step could not download Node 20. windows-latest is migrating to the
windows-2025 runner image, which no longer pre-installs Node 20 in the
hosted toolcache; setup-node v6 then falls back to downloading it, which
is unreliable (the amd64 job landed on an image that still had Node 20
cached and passed; the arm64 job did not and failed).

Node 20 was also inconsistent with the project's own requirements:
frontend/package.json engines is >=22.18.0 and frontend/.nvmrc pins 22.
Pinning CI to Node 22 (current LTS, present in the 2025 toolcache)
removes the flaky download path and matches local dev.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5cf7330
Status: ✅  Deploy successful!
Preview URL: https://d0833d49.mcpproxy-docs.pages.dev
Branch Preview URL: https://chore-ci-node22.mcpproxy-docs.pages.dev

View logs

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

📦 Build Artifacts

Workflow Run: View Run
Branch: chore/ci-node22

Available Artifacts

  • archive-darwin-amd64 (28 MB)
  • archive-darwin-arm64 (25 MB)
  • archive-linux-amd64 (16 MB)
  • archive-linux-arm64 (14 MB)
  • archive-windows-amd64 (27 MB)
  • archive-windows-arm64 (24 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (21 MB)
  • installer-dmg-darwin-arm64 (19 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 26674758673 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@Dumbris Dumbris merged commit 4a4ca5b into main May 30, 2026
30 checks passed
@Dumbris Dumbris deleted the chore/ci-node22 branch May 30, 2026 05:10
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