From 1eef5da5c9dc30941135f8eb6e6c70627811d502 Mon Sep 17 00:00:00 2001 From: Ahmed ABOUELLEIL Date: Thu, 18 Jun 2026 12:00:04 +0300 Subject: [PATCH] fix(ci): run on Node 22 and pin pnpm 11.1.2 pnpm/action-setup's floating `version: 11` resolved to 11.7.0, which requires Node >= 22.13. With Node pinned to 20, setup-node's pnpm cache step loaded the Node 22 builtin `node:sqlite` and crashed (ERR_UNKNOWN_BUILTIN_MODULE), failing every run in ~15s. Move CI to Node 22 (current LTS) and pin pnpm to the exact local version for reproducibility. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37ba46b..a85e339 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,12 +21,12 @@ jobs: - name: Set up pnpm uses: pnpm/action-setup@v4 with: - version: 11 + version: 11.1.2 - name: Set up Node uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: pnpm - name: Install dependencies