Skip to content

XAR-349: 测试 GitHub 自动关联 #63

XAR-349: 测试 GitHub 自动关联

XAR-349: 测试 GitHub 自动关联 #63

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: mcp-server/package-lock.json
- run: cd mcp-server && npm install
- run: cd mcp-server && npm run build
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: mcp-server/package-lock.json
- run: cd mcp-server && npm install
- run: cd mcp-server && npm run typecheck
lint-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install ruff
- run: cd compiler && ruff check .