mcp-freescout/.github/workflows/ci.yml
Jack Arturo 8367fd35e6
fix: make integration tests non-blocking in CI (#20)
Cloudflare blocks GitHub Actions IPs, causing integration tests to fail
with 415 errors. Add continue-on-error to prevent blocking releases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-23 00:42:17 +02:00

41 lines
839 B
YAML

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Unit tests
run: npm test
- name: Integration tests
env:
FREESCOUT_URL: ${{ secrets.FREESCOUT_URL }}
FREESCOUT_API_KEY: ${{ secrets.FREESCOUT_API_KEY }}
run: npm run test:integration
continue-on-error: true # Cloudflare may block GitHub Actions IPs
- name: Test coverage
run: npm run test:coverage
continue-on-error: true