From 677473ebb51ef18bd24d811f1b49793b34ea2bb1 Mon Sep 17 00:00:00 2001 From: kuu13580 <13580kuu@gmail.com> Date: Sat, 27 Jun 2026 01:49:17 +0000 Subject: [PATCH] =?UTF-8?q?fix(ci):=20Node.js=20=E3=82=92=2024.18.0=20?= =?UTF-8?q?=E3=81=AB=E3=82=A2=E3=83=83=E3=83=97=E3=82=B0=E3=83=AC=E3=83=BC?= =?UTF-8?q?=E3=83=89=E3=81=97=E3=81=A6=20firebase=20deploy=20=E3=81=AE?= =?UTF-8?q?=E5=81=BD=E9=99=BD=E6=80=A7=E5=A4=B1=E6=95=97=E3=82=92=E8=A7=A3?= =?UTF-8?q?=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit actions/setup-node が引いていた Node.js 22 系で premature close バグ (nodejs/node#63989) が発生し、firebase-tools の apiv2 が POST /releases を冪等でないリトライしていた。結果 deploy 自体は 成功しているのに 400 "is the current active version" で job が 赤くなっていた。 修正済みの Node.js (24.18.0, PR nodejs/node#64004 取り込み) に アップグレードすることで、premature close 自体を起こさないように する。 Co-Authored-By: Claude Opus 4.7 --- .github/workflows/firebase-hosting-merge.yml | 2 +- .github/workflows/firebase-hosting-pull-request.yml | 2 +- .github/workflows/firebase-hosting-release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index f1cbe477..435173c2 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -17,7 +17,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24.18.0' cache: 'pnpm' - run: pnpm run install:all && pnpm run build:stg - uses: FirebaseExtended/action-hosting-deploy@v0 diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index fb6d17d1..beebc357 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -18,7 +18,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24.18.0' cache: 'pnpm' - run: pnpm run install:all && pnpm run build:stg - uses: FirebaseExtended/action-hosting-deploy@v0 diff --git a/.github/workflows/firebase-hosting-release.yml b/.github/workflows/firebase-hosting-release.yml index 9224f5d9..3a177795 100644 --- a/.github/workflows/firebase-hosting-release.yml +++ b/.github/workflows/firebase-hosting-release.yml @@ -17,7 +17,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24.18.0' cache: 'pnpm' - run: pnpm run install:all && pnpm run build:prod - uses: FirebaseExtended/action-hosting-deploy@v0