Skip to content

Commit af9631b

Browse files
committed
fix: remove jest types
1 parent 5348a3a commit af9631b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/code_health.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,13 @@ jobs:
7474
node-version-file: package.json
7575
cache: "npm"
7676
- name: Install dependencies & build
77-
run: npm ci --omit=dev --include=@modelcontextprotocol/inspector
78-
- run: npm run inspect -- --cli --method tools/list --connectionString "mongodb://localhost"
77+
run: npm ci
78+
- name: Remove dev dependencies
79+
run: |
80+
rm -rf node_modules
81+
npm pkg set scripts.prepare="exit 0"
82+
npm install --omit=dev
83+
- run: npx -y @modelcontextprotocol/inspector --cli --method tools/list -- node dist/index.js --connectionString "mongodb://localhost"
7984

8085
coverage:
8186
name: Report Coverage

tsconfig.build.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"strict": true,
99
"strictNullChecks": true,
1010
"esModuleInterop": true,
11-
"types": ["node", "jest"],
11+
"types": ["node"],
1212
"sourceMap": true,
1313
"skipLibCheck": true,
1414
"resolveJsonModule": true,

0 commit comments

Comments
 (0)