Skip to content

fix(pnpm): disable frozen-lockfile to resolve CI lockfile mismatches#50

Merged
usarral merged 1 commit into
mainfrom
fix/pnpm-frozen-lockfile
Jul 12, 2026
Merged

fix(pnpm): disable frozen-lockfile to resolve CI lockfile mismatches#50
usarral merged 1 commit into
mainfrom
fix/pnpm-frozen-lockfile

Conversation

@usarral

@usarral usarral commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Problema

pnpm v10 activa automáticamente el modo `--frozen-lockfile` cuando detecta `CI=true`. Las PRs de Renovate generan lockfiles sin la sección `overrides` (aunque `package.json` las tenga), lo que causa `ERR_PNPM_LOCKFILE_CONFIG_MISMATCH` en todas las PRs de actualización de dependencias.

Solución

Añadir `.npmrc` con `frozen-lockfile=false` para que `pnpm install` pueda regenerar y corregir el lockfile automáticamente durante el CI, sin necesidad de modificar el workflow (que requiere el scope `workflow` del token).

Efecto

Una vez mergeada, Renovate hará rebase de todas las PRs fallidas y el CI pasará correctamente.

@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
usarral-2026-site Ready Ready Preview, Comment Jun 21, 2026 1:20am

@usarral
usarral merged commit 73e1041 into main Jul 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant