From 8964bee5b47d6bc91af4d3c15715c2ccc9b5683d Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Fri, 20 Nov 2026 22:52:13 -0500 Subject: [PATCH 1/3] Pin Node.js and Yarn versions Heroku warns that unpinned default versions of Node.js and Yarn can change over time. Pin them via package.json engines and .tool-versions. Co-Authored-By: Claude Sonnet 5.5 --- .tool-versions | 1 + package.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.tool-versions b/.tool-versions index c264853..b93e5ec 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,2 @@ ruby 3.3.14 +nodejs 24.13.0 diff --git a/package.json b/package.json index 5757656..9f7caa9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,10 @@ { "name": "app", "private": "true", + "engines": { + "node": "24.x", + "yarn": "1.22.x" + }, "dependencies": { "autoprefixer": "^10.4.12", "esbuild": "^0.14.11", From 6df3c283151677402ecccb7a614a94eefed1e700 Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Fri, 20 Nov 2026 22:53:47 -0500 Subject: [PATCH 2/3] Pin Node.js to 26.x Heroku's default (26.13.1) built the app successfully, so pin to it. Co-Authored-By: Claude Sonnet 5.5 --- .tool-versions | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.tool-versions b/.tool-versions index b93e5ec..45addc3 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ ruby 3.3.14 -nodejs 24.13.0 +nodejs 26.13.1 diff --git a/package.json b/package.json index 9f7caa9..c70386c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "app", "private": "true", "engines": { - "node": "24.x", + "node": "26.x", "yarn": "1.22.x" }, "dependencies": { From 68106a660713a5a493fd79606950deec220d5c30 Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Fri, 20 Nov 2026 22:57:59 -0500 Subject: [PATCH 3/3] Install Node from package.json engines in CI The runner's preinstalled Node (24.22.3) does not satisfy engines.node 26.x, so yarn install failed. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae0f824..be439e9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,6 +30,11 @@ jobs: with: ruby-version: "3.3.14" + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: package.json + - name: Install PostgreSQL 11 client run: | sudo apt-get -yqq install libpq-dev