Skip to content

Merge pull request #7 from MahammadNuriyev62/claude/reorder-installat… #17

Merge pull request #7 from MahammadNuriyev62/claude/reorder-installat…

Merge pull request #7 from MahammadNuriyev62/claude/reorder-installat… #17

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
workflow_call: # allow other workflows to reuse this
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm ci
- name: Type check (Worker)
run: npm run typecheck
- name: Type check (Node.js)
run: npm run typecheck:node
- name: Build Node.js dist
run: npm run build
- name: Validate .mcpb manifest
run: npm run pack
- name: Smoke tests (Node.js server)
run: |
node dist/main.js --port 3001 &
SERVER_PID=$!
sleep 2
MCP_URL=http://localhost:3001/mcp node test/smoke.mjs
kill $SERVER_PID