Skip to content

Commit 05eb4bb

Browse files
committed
fix(ci): skip husky hooks during semantic-release
Semantic-release creates a chore(release) commit that triggers husky commit-msg hook, which runs commitlint under Node 26. Commitlint or its deps fail with SyntaxError on Node 26. Skip hooks with HUSKY=0 since semantic-release commits do not need lint validation.
1 parent 1458e38 commit 05eb4bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@ jobs:
9797
# Do NOT set registry-url — it creates an .npmrc that overrides OIDC
9898
- run: pnpm install --frozen-lockfile
9999
- run: pnpm run build
100-
- run: pnpm exec semantic-release
100+
- run: HUSKY=0 pnpm exec semantic-release
101101
env:
102102
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)