From d76348bc4cff613d73b74e5799a8c02041cd60cc Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 4 Jun 2026 05:07:40 +0000 Subject: [PATCH] ci: add typecheck and test steps to publish workflow Ensure all quality gates pass before a package version reaches npm. Previously the publish job only built and published, so a manually triggered release or a tag pushed without CI could ship broken code. https://claude.ai/code/session_01Kn3hoqSNAWaRwN4niifcAi --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 575daf9..5611ace 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,6 +34,12 @@ jobs: npm version "$TAG_VERSION" --no-git-tag-version fi + - name: Type-check + run: npm run typecheck + + - name: Test + run: npm test + - name: Build run: npm run build