Commit 7196067
fix(ui-scripts): fix pnpm publish workflow failures after migration
Fix two issues introduced by the pnpm migration that caused GitHub Actions
workflow failures:
1. ENEEDAUTH error on release commits:
- Problem: .npmrc file with auth token was cleaned up before async
publishing completed due to returning Promise instead of awaiting
- Fix: Changed return to await for publishRegularVersion and
publishSnapshotVersion so finally block runs after publishing finishes
2. ERR_PNPM_GIT_UNCLEAN error on snapshot releases:
- Problem: pnpm publish checks git working tree by default (npm did not),
and snapshot releases intentionally modify package.json files without
committing (temporary version bumps for CI)
- Fix: Added --no-git-checks flag to pnpm publish command to allow
publishing with dirty working tree, matching previous npm behavior
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 1cf6788 commit 7196067
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
0 commit comments