-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 780 Bytes
/
Copy pathci.yml
File metadata and controls
32 lines (30 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: windows-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: mcp-server/package-lock.json
- name: Install MCP dependencies
working-directory: mcp-server
run: npm ci
- name: Run MCP tests
working-directory: mcp-server
run: npm test
- name: Check JavaScript syntax
shell: pwsh
run: |
node --check v10/launcher.js
node --check mcp-server/index.js
node --check mcp-server/security.js