Skip to content

Add GitHub Actions workflow for demo and testing #1

Add GitHub Actions workflow for demo and testing

Add GitHub Actions workflow for demo and testing #1

Workflow file for this run

name: Demo Learning System
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Test lesson loading
run: |
echo "Testing Learning System..."
node demo.js
echo "✅ Learning System demo completed successfully!"
- name: Verify server can start
run: |
echo "Testing server startup..."
timeout 10s node server.js || echo "✅ Server startup test completed"
echo "✅ All tests passed!"