Skip to content

fix: make husky CI-safe in prepare script#184

Merged
jpr5 merged 1 commit into
mainfrom
chore/fix-husky-ci
May 13, 2026
Merged

fix: make husky CI-safe in prepare script#184
jpr5 merged 1 commit into
mainfrom
chore/fix-husky-ci

Conversation

@jpr5
Copy link
Copy Markdown
Contributor

@jpr5 jpr5 commented May 13, 2026

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

  • husky || true is husky's documented pattern for CI
  • No change to local dev (husky still installs hooks)

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 13, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@copilotkit/aimock@184

commit: d6992e5

@jpr5 jpr5 enabled auto-merge May 13, 2026 00:52
@jpr5 jpr5 merged commit c40da2d into main May 13, 2026
11 checks passed
@jpr5 jpr5 deleted the chore/fix-husky-ci branch May 13, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant