Commit b0fd315
committed
fix(ci): pin lerna's minimatch to v3 and fail step on lerna error
The publish step was silently emitting `changed_packages=0` because
lerna 9.x crashed with `import_minimatch2.default is not a function`
and `echo "x=$(... | wc -l)" | tee` swallowed the non-zero exit.
- pnpm-workspace: scope `lerna>minimatch` to ^3.1.4 so lerna keeps the
CJS-default-export shape its bundled code expects, while everything
else still dedups to the global minimatch ^9.0.0 override.
- test-ci: `set -eo pipefail` plus an explicit assignment so a lerna
crash now fails the step instead of being masked by the outer pipe.1 parent d1f4c98 commit b0fd315
3 files changed
Lines changed: 34 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
169 | 173 | | |
170 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
171 | 177 | | |
172 | 178 | | |
173 | 179 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
0 commit comments