From a797a900cd5de6840bface6a0842f592acfef33b Mon Sep 17 00:00:00 2001 From: Yos Riady Date: Fri, 24 Jul 2026 21:23:31 +0700 Subject: [PATCH] =?UTF-8?q?Move=20workflows=20to=20Node=2024.15.0=20?= =?UTF-8?q?=E2=80=94=2022.22.2=20toolcache=20ships=20a=20broken=20npm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Node 22.22.2 build in the GitHub Actions hosted toolcache bundles an npm whose own dependency tree is incomplete (MODULE_NOT_FOUND: promise-retry inside @npmcli/arborist), so every npm install — including the npm self-upgrade needed for trusted publishing — fails at require time. Node 24.15.0 is the active LTS, is explicitly supported by npm 12 (^24.15.0), and has a healthy bundled npm. Co-Authored-By: Claude Fable 5 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a0ffe6..2dc3b43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 with: - node-version: "22.22.2" + node-version: "24.15.0" cache: 'pnpm' - name: Install dependencies @@ -47,7 +47,7 @@ jobs: - name: Setup Node uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 with: - node-version: "22.22.2" + node-version: "24.15.0" cache: 'pnpm' - name: Install dependencies @@ -69,7 +69,7 @@ jobs: - name: Setup Node uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 with: - node-version: "22.22.2" + node-version: "24.15.0" cache: 'pnpm' - name: Install dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df15e7e..9fad192 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,7 @@ jobs: - name: Setup Node uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 with: - node-version: "22.22.2" + node-version: "24.15.0" cache: 'pnpm' # No registry-url - using OIDC trusted publishing instead