docs: update memory-bank with v0.2.1 session progress and CI fixes #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [18, 20, 22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install root dependencies | |
| run: npm install | |
| - name: Install server dependencies | |
| run: cd server && npm install | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps chromium | |
| - name: Run server tests | |
| run: | | |
| # Start signaling server in background | |
| node server/server.js & | |
| SERVER_PID=$! | |
| # Wait for server to be ready | |
| for i in $(seq 1 30); do | |
| if curl -s http://localhost:6736/health > /dev/null 2>&1; then | |
| echo "Server is ready" | |
| break | |
| fi | |
| sleep 1 | |
| done | |
| # Run server tests | |
| node server/test-signaling.js | |
| node server/test-rooms.js | |
| # Keep server running for Playwright tests | |
| - name: Run Playwright tests | |
| run: | | |
| node tests/test-webrtc.mjs | |
| node tests/test-audio-graph.mjs | |
| node tests/test-gain-controls.mjs | |
| node tests/test-program-bus.mjs | |
| node tests/test-mix-minus.mjs | |
| node tests/test-return-feed.mjs || node tests/test-return-feed.mjs |