Node Runtime
runtime
Migration in progress. api.legendary-arena.com and PostgreSQL are moving from Render to a self-hosted DigitalOcean Ubuntu host behind Cloudflare. Render remains rollback-ready until decommission phase.
Node Runtime
Install and pin the exact Node and pnpm versions required for predictable server builds.
Summary
This page owns infra/scripts/10-node.ps1. The script installs fnm, Node 24.18.0, and pnpm 10.32.1 through corepack for the operator account.
Execute
Run as root:
sudo pwsh -File infra/scripts/10-node.ps1
Optional overrides:
sudo OPERATOR_USER=operator NODE_VERSION=24.18.0 PNPM_VERSION=10.32.1 pwsh -File infra/scripts/10-node.ps1
Verify
Run as operator:
sudo -iu operator
node -v
pnpm -v
Expected:
- Node version is v24.18.0
- pnpm version is 10.32.1
Notes
- A different Node major/minor is a different runtime and may produce drift from prior Render behavior.
- The script installs tooling for the operator user because deploy and runtime commands are expected to run in that context.
References
- Plan section 4.2 runtime page stub
- Plan section 5.1 runtime and web base checklist