Skip to content

Merge pull request #27 from a-25/bump_version_012 #67

Merge pull request #27 from a-25/bump_version_012

Merge pull request #27 from a-25/bump_version_012 #67

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout code
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 linter (if configured)
run: npm run lint || echo "Linter not configured, skipping..."
continue-on-error: true
- name: Build project
run: npm run build
- name: Run tests with coverage
run: |
echo "=== Running tests with coverage ==="
npm run test:coverage
echo ""
echo "✅ Test coverage report completed"
- name: Verify server starts
run: |
timeout 10s npm start &
sleep 5
echo "Server start verification completed"