Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

add xspace-agent/agent-voice-chat/.github/workflows/ci.yml

overstepping1ffb66858879
diff --git a/xspace-agent/agent-voice-chat/.github/workflows/ci.yml b/xspace-agent/agent-voice-chat/.github/workflows/ci.yml
new file mode 100644
index 000000000..69a923051
--- /dev/null
+++ b/xspace-agent/agent-voice-chat/.github/workflows/ci.yml
@@ -0,0 +1,63 @@
+name: CI
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [18, 20, 22]
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v4
+ with:
+ node-version: ${{ matrix.node-version }}
+ cache: npm
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Run tests with coverage
+ run: npm run test:coverage
+
+ - name: Upload coverage to Codecov
+ if: matrix.node-version == 20
+ uses: codecov/codecov-action@v4
+ with:
+ files: coverage/lcov.info
+
+ build-packages:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: npm
+ - run: npm ci
+ - run: npm run build:packages
+
+ docker:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Build Docker image
+ run: docker build -t agent-voice-chat .
+ - name: Verify health check
+ run: |
+ docker run -d -p 3000:3000 --name test agent-voice-chat
+ sleep 5
+ curl -f http://localhost:3000/api/health || exit 1
+ docker stop test
+
+