From 239408f1126ca57cfbc13861e1ec2ecc94e3d9d2 Mon Sep 17 00:00:00 2001 From: Yos Riady Date: Fri, 24 Jul 2026 21:00:40 +0700 Subject: [PATCH] Bump pinned Node to 22.22.2 so npm@latest installs in release workflow npm 12 requires Node ^22.22.2 || ^24.15.0 || >=26, so the "Update npm for trusted publishing" step in release.yml fails with EBADENGINE on the previously pinned 22.14.0. Bump CI to the same version to keep the workflows consistent. 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 d47a31b..8a0ffe6 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.14.0" + node-version: "22.22.2" 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.14.0" + node-version: "22.22.2" 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.14.0" + node-version: "22.22.2" cache: 'pnpm' - name: Install dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab4498f..df15e7e 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.14.0" + node-version: "22.22.2" cache: 'pnpm' # No registry-url - using OIDC trusted publishing instead