Skip to content

Commit 79d3488

Browse files
committed
ci.yml fixed and Cargo.toml section zen removed
1 parent f825889 commit 79d3488

File tree

2 files changed

+16
-54
lines changed

2 files changed

+16
-54
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,19 @@ jobs:
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
21-
22-
- name: Setup Node.js
23-
uses: actions/setup-node@v4
24-
with:
25-
node-version: ${{ env.NODE_VERSION }}
26-
cache: 'npm'
2721

28-
- name: Install dependencies
29-
run: npm install
30-
31-
- name: Test make build
22+
- name: Run unit tests
3223
run: |
33-
echo "🏗️ Testing make build..."
34-
make build
35-
36-
# Verify build output exists
37-
if [ ! -f build/index.js ]; then
38-
echo "❌ build/index.js not found"
39-
exit 1
40-
fi
41-
echo "✅ make build successful"
24+
echo "🔌 Testing unit tests..."
25+
make test
26+
echo "✅ Unit tests successful"
4227
43-
- name: Test make test-stdio
28+
- name: Run build all servers
4429
run: |
45-
echo "🔌 Testing make test-stdio..."
46-
make test-stdio
47-
echo "✅ make test-stdio successful"
48-
30+
echo "🔌 Building all servers..."
31+
make build-all
32+
echo "✅ All servers built successfully"
33+
4934
- name: Test make pack and verify contents
5035
run: |
5136
echo "📦 Testing make pack..."
@@ -79,35 +64,14 @@ jobs:
7964
# Verify required files exist
8065
echo "🔍 Verifying package contents..."
8166
82-
if [ ! -d test-extract/build ]; then
83-
echo "❌ build/ directory missing"
84-
ls -la test-extract/
85-
exit 1
86-
fi
87-
echo "✅ build/ directory found"
88-
89-
if [ ! -d test-extract/node_modules ]; then
90-
echo "❌ node_modules/ directory missing"
91-
ls -la test-extract/
92-
exit 1
93-
fi
94-
echo "✅ node_modules/ directory found"
95-
96-
if [ ! -f test-extract/package.json ]; then
97-
echo "❌ package.json missing"
98-
ls -la test-extract/
99-
exit 1
100-
fi
101-
echo "✅ package.json found"
102-
103-
if [ ! -f test-extract/package-lock.json ]; then
104-
echo "❌ package-lock.json missing"
67+
if [ ! -d test-extract/stdio_server ]; then
68+
echo "❌ stdio_server missing"
10569
ls -la test-extract/
10670
exit 1
10771
fi
108-
echo "✅ package-lock.json found"
72+
echo "✅ stdio_server found"
10973
110-
if [ ! -f test-extract/manifest.json ]; then
74+
if [ ! -d test-extract/manifest.json ]; then
11175
echo "❌ manifest.json missing"
11276
ls -la test-extract/
11377
exit 1
@@ -202,5 +166,7 @@ jobs:
202166
name: build-artifacts
203167
path: |
204168
*.dxt
205-
build/
169+
target/release/stdio_server
170+
target/release/sse_server
171+
target/release/mcp_server
206172
retention-days: 7

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,3 @@ path = "src/sse_server.rs"
6565
[[bin]]
6666
name = "mcp_server"
6767
path = "src/mcp_server.rs"
68-
69-
[[bin]]
70-
name = "zen_test"
71-
path = "src/zen_test.rs"

0 commit comments

Comments
 (0)