Files
telegram-mcp/.github/workflows/ci.yml
2025-06-29 11:59:58 +08:00

37 lines
746 B
YAML

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Type check
run: bun run tsc --noEmit
- name: Build
run: bun run build
- name: Check build output
run: |
if [ ! -f telegram-mcp ]; then
echo "Build failed: telegram-mcp executable not found"
exit 1
fi
echo "Build successful: telegram-mcp executable created"