Skip to content

Conversation

@randi274
Copy link
Contributor

@randi274 randi274 commented Sep 8, 2025

This PR:

  • Fixes an issue in our builds where husky is causing publishing failures. This is because it is a top level dependency, but each monorepo doesn't have (or need) it. The fix I went with is to ensure that a missing husky dependency doesn't prevent publishing, as recommended by their documentation. This looked good locally too.
Screenshot 2025-09-08 at 3 37 02 PM

"showcoverage-typescript": "open ./coverage/lcov-report/index.html",
"showcoverage": "npm run showcoverage-java && npm run showcoverage-typescript",
"prepare": "husky"
"prepare": "husky || true"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also considered adding a --ignore-scripts flag to the npm install step of publish-package-to-npm.yml, but that would skip any future lifecycle scripts too, which may be tricky to troubleshoot.

@randi274 randi274 merged commit c8b47b8 into dev Sep 8, 2025
7 checks passed
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.

3 participants