From c199c10012c5ecd1a9ad37767e80380abcf1ca5a Mon Sep 17 00:00:00 2001 From: Timothy Githinji Date: Thu, 21 May 2026 14:35:15 +0100 Subject: [PATCH] ci(deploy): bump runner Node to 22 for wrangler 4 The first Doppler-driven deploy succeeded at fetching secrets but crashed at `wrangler deploy`: Wrangler requires at least Node.js v22.0.0. You are using v20.20.2. ubuntu-latest still ships Node 20 by default; pinning Node 22 via actions/setup-node fixes the deploy step. bunx invokes wrangler's CLI which then resolves `node` from PATH, so this is enough. --- .github/workflows/deploy.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index adaa074..2a081ba 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -67,6 +67,12 @@ jobs: with: bun-version-file: .bun-version + # Wrangler 4.x requires Node 22+; the runner ships with 20. + # bunx still picks up `node` from PATH when invoking wrangler's CLI. + - uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Install dependencies run: bun install --frozen-lockfile