Skip to content

Commit 8de8d2e

Browse files
committed
ci: add test steps to build and publish workflows
1 parent 3bde48f commit 8de8d2e

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.changeset/curly-pumas-lead.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'create-mcp-kit': patch
3+
'@mcp-tool-kit/shared': patch
4+
---
5+
6+
ci: add test steps to build and publish workflows

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ jobs:
3434

3535
- name: Build Package
3636
run: pnpm run build
37+
38+
- name: Test Package
39+
run: pnpm run coverage
40+
41+
- name: Coveralls
42+
uses: coverallsapp/github-action@v2

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
- name: Install Package
4242
run: pnpm install
4343

44+
- name: Test Package
45+
run: pnpm run test
46+
4447
- name: Build Package
4548
run: pnpm run build
4649

0 commit comments

Comments
 (0)