Skip to content

fix: disable husky install when doing semantic release#295

Merged
abest-tz merged 1 commit into
masterfrom
feat/enable_ssl
Feb 6, 2026
Merged

fix: disable husky install when doing semantic release#295
abest-tz merged 1 commit into
masterfrom
feat/enable_ssl

Conversation

@abest-tz

@abest-tz abest-tz commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Otherwise husky install fails with an obscure error about no .git directory existing.

Summary by CodeRabbit

  • Chores
    • Updated the publishing workflow configuration to optimize the release process.

@coderabbitai

coderabbitai Bot commented Feb 6, 2026

Copy link
Copy Markdown

Walkthrough

Adds a HUSKY environment variable set to "0" in the npm-publish job's Semantic Release step within the GitHub Actions workflow. This explicitly disables Husky installation during the package publication process.

Changes

Cohort / File(s) Summary
CI/CD Configuration
.github/workflows/publish.yml
Added HUSKY environment variable set to "0" to disable Husky installation during the semantic-release step in the npm-publish job.
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: disabling Husky during semantic release in the publish workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/enable_ssl

Comment @coderabbitai help to get the list of available commands and usage tips.

@deepsource-io

deepsource-io Bot commented Feb 6, 2026

Copy link
Copy Markdown

Here's the code health analysis summary for commits 308af47..b0a4858. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@abest-tz abest-tz merged commit b1b2473 into master Feb 6, 2026
7 checks passed
@abest-tz abest-tz deleted the feat/enable_ssl branch February 6, 2026 19:47
@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 5.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants