Skip to content

Commit 01e8c1b

Browse files
authored
fix(ci): build before release tests
Build the package before running zombie-guard in both release publish workflows.
1 parent e9643d4 commit 01e8c1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish-npm-on-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
pnpm lint
5454
pnpm format:check
5555
pnpm type-check
56-
pnpm test
5756
pnpm build
57+
pnpm test
5858
5959
- name: Publish to npm with provenance
6060
if: steps.check.outputs.already_published != 'true'

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
pnpm lint
5858
pnpm format:check
5959
pnpm type-check
60-
pnpm test
6160
pnpm build
61+
pnpm test
6262
6363
- name: Publish to npm with provenance
6464
if: ${{ steps.release.outputs.release_created && env.SKIP_PUBLISH != 'true' }}

0 commit comments

Comments
 (0)