From 8bde4be10f4d8db47012b00a61d4510195477f25 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 14 Sep 2026 07:21:22 +0000 Subject: [PATCH] =?UTF-8?q?e2e=20=E3=82=B8=E3=83=A7=E3=83=96=E3=82=92=20No?= =?UTF-8?q?de=2024=20=E3=81=AB=E4=B8=8A=E3=81=92=E3=80=81=E3=82=AD?= =?UTF-8?q?=E3=83=A3=E3=83=83=E3=82=B7=E3=83=A5=E3=82=AD=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=82=92=E3=82=B8=E3=83=A7=E3=83=96=E5=8D=98=E4=BD=8D=E3=81=AB?= =?UTF-8?q?=E7=B5=9E=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node 12 は 2022 年 4 月に EOL になっている。setup-node がまだ取ってこられる ので CI は通っていたが、4 年前に上流のサポートが切れたランタイムで npm install と bazelisk を動かし続ける理由はない。24.x に上げる。 ローカル (npm 10.9.7) で現在の package-lock.json のまま npm install が 通ることを確認した。lockfileVersion 1 なので npm が「one-time fix-up」の 警告を出してメタデータをレジストリから取り直すが、インストール自体は成功し、 終了コードは 0 になる。 あわせて e2e ジョブのキャッシュキーを絞る。restore-keys が `${{ runner.os }}-` だけだったので、Haskell ジョブのキャッシュにも前方一致 する。そちらは ~/.stack と .stack-work を含んでいて実測 519 MB あり、 e2e ジョブには一切使い道がない。#65 で Haskell 側を `${{ runner.os }}-ghc9.8.4-stack3.11.1-` に絞ったのと同じ対処を、 こちら側にも入れる。 lockfile を v3 に上げる変更はここには入れない。package-lock.json は #59 と #62 が触っており、衝突するため。 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01P8rZakwAiz1jpViUX34x1Z --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8f4f2e..3ee5d6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,15 +31,18 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: 12.x + node-version: 24.x - name: Restore caches uses: actions/cache@v4 with: path: | ~/.npm ./node_modules - key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-e2e-node24-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/go.sum') }} + # Scoped to this job: a bare ${{ runner.os }}- prefix also matches the + # Haskell job's cache, so this job could restore half a gigabyte of + # ~/.stack and .stack-work that it has no use for. restore-keys: | - ${{ runner.os }}- + ${{ runner.os }}-e2e-node24- - run: npm install - run: npx bazelisk test //e2e/go:snapshot_test