fix: pin pnpm to v10 in CI and add .npmrc to all frontend projects
pnpm latest on Node 22 resolves to pnpm 11 which rejects lockfileVersion 9.0 lockfiles with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH. Pinning to pnpm 10 keeps compatibility with existing lockfiles. .npmrc sets strict-dep-builds=false so build-script warnings don't hard-fail the frozen install.
This commit is contained in:
parent
adeec9b36d
commit
5863be7dac
|
|
@ -129,7 +129,7 @@ jobs:
|
|||
if: matrix.type == 'biome'
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: latest
|
||||
version: 10
|
||||
|
||||
- name: Cache pnpm store
|
||||
if: matrix.type == 'biome'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
strict-dep-builds=false
|
||||
auto-install-peers=true
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
strict-dep-builds=false
|
||||
auto-install-peers=true
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
strict-dep-builds=false
|
||||
auto-install-peers=true
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
strict-dep-builds=false
|
||||
auto-install-peers=true
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
strict-dep-builds=false
|
||||
auto-install-peers=true
|
||||
Loading…
Reference in New Issue