Skip to content

ci: upgrade Node to 24 LTS and add .nvmrc - #1708

Merged
sserrata merged 1 commit into
mainfrom
ci/node-24
Nov 4, 2026
Merged

sserrata merged 1 commit into
mainfrom
ci/node-24

Conversation

@sserrata

@sserrata sserrata commented Nov 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Move all GitHub Actions workflows from Node 22 to the Node 24 LTS line (EOL 2028-04-30).
  • Remove the 22.22.3 pin in the deploy-live and deploy-preview deploy jobs.
  • Add .nvmrc (24) so local setups match CI.

Why

The pinned 22.22.3 does not include the October 21, 2026 security release fixes (4 high, for example the Brotli decoder out-of-bounds write CVE-2026-111497 and TLS hostname-verification bypasses). Node 22 is in Maintenance LTS and reaches EOL on 2027-04-30. Another security release with HIGH-severity fixes for 22.x/24.x/26.x is scheduled for November 11, 2026. The floating "24" will pick it up automatically.

Risk

The 22.22.3 pin was added in 80c774d to avoid a gaxios/STS "Premature close" error when firebase-tools exchanged WIF credentials on Node 22.23.0. The deploy action installs the latest firebase-tools, so the upstream fix should be in now, but I could not confirm it.

Deploy Preview runs on pull_request_target, so this PR cannot exercise the deploy jobs on Node 24. Validate (build, lint, and tests) runs on Node 24 here.

After merge, watch the first Deploy Live run. If it fails with "Premature close", pin the deploy step to a specific Node 24 patch version or revert that step to Node 22.

Not in scope

The engines fields (>=14 / >=18) are unchanged. Raising them affects consumers and belongs in a major release.

🤖 Generated with Claude Code

Node 22.22.3 (pinned in deploy jobs) lacks the October 21, 2026 security
fixes, including a Brotli out-of-bounds write (CVE-2026-111497) and
several TLS hostname-verification bypasses. Move all workflows to the
Node 24 LTS line (EOL 2028-04-30) and add .nvmrc so local setups match.

This also removes the 22.22.3 pin added in 80c774d for the gaxios STS
"Premature close" regression. Deploy jobs run via pull_request_target,
so this PR cannot exercise them; watch the first deploy-live run after
merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 2.45 MB

ℹ️ View Unchanged
Filename Size
demo/.docusaurus/codeTranslations.json 2 B
demo/.docusaurus/docusaurus.config.mjs 16.6 kB
demo/.docusaurus/globalData.json 83.8 kB
demo/.docusaurus/i18n.json 372 B
demo/.docusaurus/registry.js 121 kB
demo/.docusaurus/routes.js 115 kB
demo/.docusaurus/routesChunkNames.json 47.7 kB
demo/.docusaurus/site-metadata.json 1.58 kB
demo/build/assets/css/styles.********.css 218 kB
demo/build/assets/js/main.********.js 731 kB
demo/build/assets/js/runtime~main.********.js 27.3 kB
demo/build/index.html 100 kB
demo/build/petstore/add-pet/index.html 30 kB
demo/build/petstore/create-user/index.html 24.6 kB
demo/build/petstore/create-users-with-array-input/index.html 24.7 kB
demo/build/petstore/create-users-with-list-input/index.html 24.7 kB
demo/build/petstore/delete-order/index.html 24.6 kB
demo/build/petstore/delete-pet/index.html 24.8 kB
demo/build/petstore/delete-user/index.html 24.9 kB
demo/build/petstore/find-pets-by-status/index.html 25.4 kB
demo/build/petstore/find-pets-by-tags/index.html 26.1 kB
demo/build/petstore/get-inventory/index.html 23.9 kB
demo/build/petstore/get-order-by-id/index.html 24.8 kB
demo/build/petstore/get-pet-by-id/index.html 25.5 kB
demo/build/petstore/get-user-by-name/index.html 25 kB
demo/build/petstore/login-user/index.html 25.6 kB
demo/build/petstore/logout-user/index.html 24.3 kB
demo/build/petstore/new-pet/index.html 24.9 kB
demo/build/petstore/pet/index.html 23.2 kB
demo/build/petstore/place-order/index.html 24.1 kB
demo/build/petstore/schemas/apiresponse/index.html 25.3 kB
demo/build/petstore/schemas/cat/index.html 39.3 kB
demo/build/petstore/schemas/category/index.html 26.4 kB
demo/build/petstore/schemas/dog/index.html 39.7 kB
demo/build/petstore/schemas/honeybee/index.html 39.7 kB
demo/build/petstore/schemas/id/index.html 23.5 kB
demo/build/petstore/schemas/order/index.html 27.5 kB
demo/build/petstore/schemas/pet/index.html 39.3 kB
demo/build/petstore/schemas/tag/index.html 24.8 kB
demo/build/petstore/schemas/user/index.html 41.2 kB
demo/build/petstore/store/index.html 22.2 kB
demo/build/petstore/subscribe-to-the-store-events/index.html 30.9 kB
demo/build/petstore/swagger-petstore-yaml/index.html 31.1 kB
demo/build/petstore/update-pet-with-form/index.html 24.9 kB
demo/build/petstore/update-pet/index.html 25.4 kB
demo/build/petstore/update-user/index.html 24.9 kB
demo/build/petstore/upload-file/index.html 24.8 kB
demo/build/petstore/user/index.html 22.8 kB

compressed-size-action

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit d28d7e6):

https://docusaurus-openapi-36b86--pr1708-y76ef4kt.web.app

(expires Wed, 11 Nov 2026 20:41:58 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bf293780ee827f578864d92193b8c2866acd459f

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

📸 Visual Diff Report

Snapshot comparison against https://docusaurus-openapi.tryingpan.dev/

Total ✅ Match ❌ Diff ⏭ Skip
228 228 0 0

✅ No visual regressions detected.

Updated at 2026-11-04T20:47:37.231Z · run 41908493439

@sserrata
sserrata merged commit ab90e4d into main Nov 4, 2026
12 checks passed
@sserrata
sserrata deleted the ci/node-24 branch November 4, 2026 20:54
sserrata added a commit to PaloAltoNetworks/pan.dev that referenced this pull request Nov 4, 2026
Node 22 is in Maintenance LTS (EOL 2027-04-30). Move the deploy
workflows to the Node 24 LTS line (EOL 2028-04-30) and add .nvmrc so
local setups match CI. Same change as
PaloAltoNetworks/docusaurus-openapi-docs#1708, whose Deploy Live run
succeeded on Node 24.22.2.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
preview — d28d7e66 Deployed Nov 4, 2026 by sserrata via Delete preview channels #2
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