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 ;;