Skip to content

ci: open the sync PR to main automatically after a release (#172) #366

ci: open the sync PR to main automatically after a release (#172)

ci: open the sync PR to main automatically after a release (#172) #366

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: mcp-server/package-lock.json
- name: Install dependencies
working-directory: ./mcp-server
run: npm ci
- name: Build
working-directory: ./mcp-server
run: npm run build
- name: Run tests
working-directory: ./mcp-server
run: npm run test:run