Skip to content

Commit e9e6b31

Browse files
committed
fixes to workflows
1 parent eeee3ad commit e9e6b31

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ jobs:
6969
working-directory: packages/b2c-cli
7070
run: pnpm run pretest && pnpm run test:ci && pnpm run lint
7171

72+
- name: Run MCP tests
73+
id: mcp-test
74+
if: always() && steps.sdk-test.conclusion != 'cancelled'
75+
working-directory: packages/b2c-dx-mcp
76+
run: pnpm run pretest && pnpm run test:ci && pnpm run lint
77+
7278
- name: Test Report
7379
uses: dorny/test-reporter@fe45e9537387dac839af0d33ba56eed8e24189e8 # v2.3.0
7480
if: always() && steps.sdk-test.conclusion != 'cancelled'

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
run: pnpm run build
101101

102102
- name: Run tests
103-
run: pnpm run test
103+
run: pnpm --filter '!b2c-vs-extension' run test
104104

105105
- name: Publish SDK to npm
106106
if: steps.release-type.outputs.type == 'nightly' || steps.packages.outputs.publish_sdk == 'true'

packages/b2c-dx-mcp/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"pretest": "tsc --noEmit -p test",
8787
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
8888
"test:agent": "mocha --forbid-only --reporter min \"test/**/*.test.ts\"",
89+
"test:ci": "mocha --forbid-only --reporter json --reporter-option output=test-results.json \"test/**/*.test.ts\"",
8990
"posttest": "pnpm run lint",
9091
"prepack": "oclif manifest",
9192
"postpack": "shx rm -f oclif.manifest.json"

0 commit comments

Comments
 (0)