Skip to content

Commit febb983

Browse files
Update deps, CI and configs
1 parent 97b70d0 commit febb983

File tree

6 files changed

+634
-792
lines changed

6 files changed

+634
-792
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,30 @@ jobs:
3131
run: npm ci
3232

3333
- name: Build shared package
34-
run: npm run build --workspace=shared
34+
run: npm run build --workspace=@turn-based-mcp/shared
35+
36+
- name: Verify shared build artifacts
37+
run: |
38+
test -f shared/dist/index.js || (echo 'shared/dist/index.js missing' && exit 1)
39+
test -f shared/dist/testing/index.js || (echo 'shared/dist/testing/index.js missing' && exit 1)
3540
3641
- name: Type check all workspaces
3742
run: npm run type-check
3843

3944
- name: Build web package
40-
run: npm run build --workspace=web
45+
run: npm run build --workspace=@turn-based-mcp/web
4146

4247
- name: Build mcp-server package
43-
run: npm run build --workspace=mcp-server
48+
run: npm run build --workspace=@turn-based-mcp/mcp-server
49+
50+
- name: Run tests - shared
51+
run: npm run test --workspace=@turn-based-mcp/shared
52+
53+
- name: Run tests - web
54+
run: npm run test --workspace=@turn-based-mcp/web
55+
56+
- name: Run tests - mcp-server
57+
run: npm run test --workspace=@turn-based-mcp/mcp-server
4458

4559
- name: Lint web package
46-
run: npm run lint --workspace=web
47-
48-
# Future: Add test steps when tests are implemented
49-
# - name: Run tests - shared
50-
# run: npm run test --workspace=shared
51-
#
52-
# - name: Run tests - web
53-
# run: npm run test --workspace=web
54-
#
55-
# - name: Run tests - mcp-server
56-
# run: npm run test --workspace=mcp-server
60+
run: npm run lint --workspace=@turn-based-mcp/web

mcp-server/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"strict": true,
1313
"skipLibCheck": true,
1414
"esModuleInterop": true,
15-
"allowSyntheticDefaultImports": true
15+
"allowSyntheticDefaultImports": true
1616
},
1717
"include": ["src/**/*"],
1818
"exclude": ["dist", "node_modules", "**/*.test.ts", "**/*.test.tsx"]

0 commit comments

Comments
 (0)