From 4f61b6cd4913fa624a188e57047c1c313a98ad25 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 27 May 2026 10:19:52 -0700 Subject: [PATCH] [eric] ci: pin build node to 20.18.1 to match the runtime we ship --- .github/workflows/release-windows.yml | 5 ++++- .nvmrc | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .nvmrc diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index 562a2fdf..dcf0e627 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -63,7 +63,10 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' + # Exact pin (not '20'): the build bundles Node v20.18.1 as the runtime + # for 9router + MCP servers (see build-app-win.ps1 step 3b), so the + # toolchain that packages the app must match the runtime that ships. + node-version: '20.18.1' - name: Setup Python (for building bundled python-env) uses: actions/setup-python@v5 diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..d4b7699d --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20.18.1