Commit f2fd6fc
committed
fix(ci): pin npm to 11.12.1 via packageManager field
Renovate's hosted runner uses npm 10 by default, which raises EOVERRIDE
when re-resolving the workspace tree against the dompurify override
(`^3.4.0`) and other caret-range overrides. The lockfile regen step
then aborts and Renovate ships package.json updates with a stale
package-lock.json, breaking every npm-based CI job on the resulting PR.
npm 11.5+ handles the same overrides scenario without erroring. Adding
`packageManager: npm@11.12.1` is the standard Corepack-honored signal
to pick a specific npm; Renovate respects it, and it also pins local
dev and any non-explicit CI step onto the same npm so all three stay
aligned.
Closes #2415. Sequenced after #2414 (CI Node 24 / npm 11).1 parent 154ebf3 commit f2fd6fc
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments