From d19134cfc040440c90ec2db24ae52eb7193d821d Mon Sep 17 00:00:00 2001 From: Alem Tuzlak Date: Thu, 18 Jun 2026 17:04:57 +0200 Subject: [PATCH] ci: pin Node 22 via root .nvmrc for the workspace-source build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re-lands the Node pin that was lost when #5534 merged without it. The Railway slack-example build now compiles the @copilotkit/* libs from source (tsdown/rolldown), which needs Node >=20.12 (`node:util`'s `styleText`), but the builder defaults to Node 18 from the root `engines.node: ">=18"` — failing with "does not provide an export named 'styleText'". Pin the build/dev Node to 22 (read by the Railway builder and nvm/fnm). CI is unaffected (no workflow reads .nvmrc) and the published `engines` runtime contract is left as-is. --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000..2bd5a0a98a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22