Commit 3d91be5
committed
fix: handle pnpm frozen-lockfile in CI for optimize command
In CI environments, pnpm automatically runs with --frozen-lockfile which prevents
lockfile updates. When the optimize command tries to add overrides and update
the lockfile, it fails with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH.
Added explicit --no-frozen-lockfile flag when running pnpm install in CI mode
to allow the lockfile to be updated with Socket.dev overrides.1 parent 1959c61 commit 3d91be5
2 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
217 | 224 | | |
218 | 225 | | |
219 | 226 | | |
| |||
0 commit comments