Commit 8828764
committed
fix(release): install (not ci) on the FreeBSD legs
FreeBSD's pkg ships a newer npm than the GitHub-hosted node22 runners, and that
newer npm fails `npm ci` on the @retrigger/core-* platform optionalDependencies:
they have no resolved nodes in the lock because they are unpublished (404) until
this release publishes them, and strict npm counts that as a package.json vs
package-lock.json desync ("Missing ... from lock file", EUSAGE). The exact
committed lock passes `npm ci` on npm 11.0.0 in clean isolation, so the lock is
not the defect -- the npm version is. Use `npm install` on the two FreeBSD build
legs, which reconciles rather than strictly validating; the hosted runners keep
`npm ci`. verify-published-freebsd already installs from the registry.1 parent 6d6a1ae commit 8828764
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
279 | 284 | | |
280 | 285 | | |
281 | 286 | | |
| |||
0 commit comments