From 6b7bd7156c796da06e20006709962a24a2181711 Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Wed, 15 Apr 2026 16:44:58 -0700 Subject: [PATCH] fix: relax pnpm strict build checks in CI --- .github/workflows/ci.yml | 5 ++++- .github/workflows/reusable-test.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a8d41c3..f78199d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,7 +140,10 @@ jobs: run: | case "${{ matrix.pm }}" in npm) npm ci ;; - pnpm) pnpm install --no-frozen-lockfile ;; + # pnpm v10 can fail CI on ignored native build scripts + # (for example msgpackr-extract) even though this repo is Yarn-native + # and pnpm is only exercised here as a compatibility lane. + pnpm) pnpm install --config.strict-dep-builds=false --no-frozen-lockfile ;; # Yarn Berry (v4+) removed --ignore-engines; engine checking is no longer a core feature yarn) yarn install ;; bun) bun install ;; diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.yml index 3d650434..8163fa68 100644 --- a/.github/workflows/reusable-test.yml +++ b/.github/workflows/reusable-test.yml @@ -130,7 +130,10 @@ jobs: run: | case "${{ inputs.package-manager }}" in npm) npm ci ;; - pnpm) pnpm install --no-frozen-lockfile ;; + # pnpm v10 can fail CI on ignored native build scripts + # (for example msgpackr-extract) even though this repo is Yarn-native + # and pnpm is only exercised here as a compatibility lane. + pnpm) pnpm install --config.strict-dep-builds=false --no-frozen-lockfile ;; # Yarn Berry (v4+) removed --ignore-engines; engine checking is no longer a core feature yarn) yarn install ;; bun) bun install ;;