Commit c40da2d
authored
fix: make husky CI-safe in prepare script (#184)
## Summary
The v1.22.1 npm publish failed because the `prepare` lifecycle script
runs `husky` during `npm publish` in the publish job, which doesn't have
husky on the PATH.
Changes `"prepare": "husky"` to `"prepare": "husky || true"` — husky's
recommended CI-safe pattern.
Merging this will re-trigger the release workflow and publish v1.22.1 to
npm.
## Test plan
- [x] `husky || true` is husky's documented pattern for CI
- [x] No change to local dev (husky still installs hooks)1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments