Skip to content

Move runtime and tooling to Node 22 - #420

Merged
aamoghS merged 1 commit into
devfrom
rebase/node22
Sep 25, 2026
Merged

aamoghS merged 1 commit into
devfrom
rebase/node22

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Production and the declared engines range still said Node 20, but the dependencies no longer support it:

Package Needs
@google-cloud/storage 8 (+ @google-cloud/* deps) >=22
sanitize-html 2.17 >=22.12
vitest 5 ^22.12
eslint 10 / @eslint/* ^22.13

Node 20 has also been end of life since April 2026.

What

  • apphosting.yaml: runtime: nodejs22
  • engines: >=22.13.0 <24, the lowest version every installed package accepts (checked against every package's engines in node_modules)
  • .nvmrc and codeql.yml move to 22, matching the other workflows (already on 22)
  • Docs updated to match

Needs a check

This changes the production runtime. Watch the first App Hosting rollout after merge: build, drizzle-kit push, and a resume upload/preview (the Cloud Storage path).

Several dependencies no longer support Node 20: @google-cloud/storage 8
(and its @google-cloud/* deps) and sanitize-html 2.17 need >=22, vitest 5
needs ^22.12, and eslint 10 needs ^22.13. App Hosting still ran nodejs20,
which is also end of life (April 2026).

- apphosting.yaml: runtime nodejs22.
- engines: >=22.13.0 <24, the lowest version every installed package
  accepts.
- .nvmrc and codeql.yml move to 22, matching the other workflows.
- Docs updated to match.
@github-actions
github-actions Bot requested a review from aamoghS as a code owner September 25, 2026 01:26
@aamoghS aamoghS changed the title Feature: rebase/node22 to dev Move runtime and tooling to Node 22 Sep 25, 2026
@aamoghS
aamoghS merged commit 53d89c8 into dev Sep 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant