From dce267a2fdc7d17fb31d0697e34dd57806b33ba8 Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Wed, 25 Feb 2026 11:09:27 -0500 Subject: [PATCH] fix: reorder publish workflow to build before test The version test requires dist/bin.cjs to exist. Move bump and build steps before test so the built artifact is available. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5779a3d..f92ac9f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,8 +29,6 @@ jobs: - run: pnpm install --frozen-lockfile - - run: pnpm test - - name: Bump patch version run: | git config user.name "github-actions[bot]" @@ -43,6 +41,8 @@ jobs: - run: pnpm build + - run: pnpm test + - name: Publish to npm run: pnpm publish --no-git-checks env: