From 2084aea35385afef9741a30bc36411a3e8c5bcbe Mon Sep 17 00:00:00 2001 From: Astralchemist Date: Tue, 26 May 2026 12:57:44 +0000 Subject: [PATCH] ci(release): install git hooks before publish so the prepublishOnly test gate passes --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59ba355..c7e453f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,11 @@ jobs: - name: Install run: bun install --frozen-lockfile + # The prepublishOnly gate runs the full test suite, which includes + # pre-commit-hook.test.ts — that asserts the hook is installed. + - name: Install git hooks + run: bun run install:hooks + # Guard: a v0.1.5 tag must match package.json 0.1.5, so a mistagged push # can never publish the wrong version. - name: Tag matches package.json version