Commit fe56aff
committed
fix(ci): tolerate npm duplicate version race condition in alias publish
npm with provenance can return a 403 "cannot publish over previously
published versions" even when the publish actually succeeded. The script
now treats this specific error as success to prevent the workflow from
failing and skipping the GitHub Release step.1 parent 6dc280a commit fe56aff
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
0 commit comments