Skip to content

Commit 54604c3

Browse files
committed
ci(workflow): add test step to npm-publish and refine test scripts
1 parent db6c149 commit 54604c3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
run: npm ci
2424
- name: Build
2525
run: npm run build
26+
- name: Test
27+
run: npm test
2628

2729
publish-npm:
2830
needs: build

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": false,
77
"scripts": {
88
"build": "tsc",
9-
"test": "jest",
9+
"test": "jest --passWithNoTests",
1010
"dev": "nodemon --exec ts-node --esm src/index.ts"
1111
},
1212
"dependencies": {

packages/confluence/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dev": "nodemon src/index.ts",
1212
"inspect": "mcp-inspector node build/index.js",
1313
"inspect:dev": "mcp-inspector ts-node src/index.ts",
14-
"test": "jest"
14+
"test": "jest --passWithNoTests"
1515
},
1616
"dependencies": {
1717
"@atlassian-dc-mcp/common": "^0.10.0",

0 commit comments

Comments
 (0)