From 380151bcc86b25e5b81788f077b1cd147ceac812 Mon Sep 17 00:00:00 2001 From: Zach Hawtof Date: Sat, 16 May 2026 13:39:46 -0400 Subject: [PATCH] fix(release): drop test step from prepublishOnly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The release-please workflow intentionally skips Chromium install on the npm-token-bearing job (see release-please.yml:23-28) — but pnpm publish triggers prepublishOnly, which ran pnpm test, which needs Chromium for the Storybook browser tests. Result: every npm publish since #53 fails before uploading. Lint/typecheck/build/full-suite already ran in CI against the same commit; build:clean is sufficient publish-side gating. Co-Authored-By: Claude Opus 4.7 (1M context) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3ae8660..3cd13fc 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "lint:fix": "biome check --fix .", "format": "biome format --write .", "prepare": "lefthook install", - "prepublishOnly": "pnpm run build:clean && pnpm test", + "prepublishOnly": "pnpm run build:clean", "demo:dev": "cd demo && pnpm install && pnpm dev", "demo:build": "cd demo && CI=true pnpm install --frozen-lockfile && pnpm build", "demo:preview": "cd demo && pnpm preview"