@@ -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
0 commit comments