From dc2960aad3018a9c1825954fb040b6d134aa5b18 Mon Sep 17 00:00:00 2001 From: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Date: Mon, 3 Aug 2026 10:49:05 +0200 Subject: [PATCH] chore: declare Node 22 once, in .nvmrc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI and the deploy pipeline each picked their own Node major, so a build could ship from a toolchain CI never verified — npm 10 and 11 disagree about optional platform deps, which failed 'npm ci' on a lockfile the other npm wrote. One declaration both sides read. Co-Authored-By: Claude Opus 5 --- .github/workflows/ci.yml | 2 +- .nvmrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .nvmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9d1577..c7e778a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/setup-node@v7 with: # 22 = the version deploy.sh actually builds the standalone bundle on. - node-version: 22 + node-version-file: .nvmrc cache: npm cache-dependency-path: app/package-lock.json diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22