Commit f49fef3
ci(release): verify shrinkwrap installs on node 20 before publishing bitgo
Adds a pre-publish gate between the siblings publish (pass 1) and the
bitgo publish (pass 2): npm pack triggers the shrinkwrap generator via
prepack, then we install the resulting tarball on Node 20 with
engine-strict=true. Any transitive pinned by the shrinkwrap that
violates engines (like sanitize-html@2.17.6 in WCN-2091) fails the
release before the bad bitgo tarball reaches npm.
Runs after pass 1 because the generator resolves newly-published
siblings from the registry. If it fails, siblings are on npm but bitgo
isn't -- fix and re-run in recovery-mode.
Skipped in dry-run since siblings aren't published there.
TICKET: WCN-20981 parent 3c67ddd commit f49fef3
1 file changed
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
310 | 355 | | |
311 | 356 | | |
312 | 357 | | |
| |||
0 commit comments