feat(mcp): Sprint B — on-chain tools (submit_pr) — GHB-187 #190
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| js: | |
| name: JS/TS (typecheck + test) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm typecheck | |
| - run: pnpm test | |
| python: | |
| name: Python (GenLayer contracts) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| # genlayer-test imports `Buffer` from collections.abc, which is 3.12+ only | |
| # (PEP 688). Pinning to 3.12 keeps CI green. | |
| python-version: "3.12" | |
| - run: pip install ruff pytest genlayer-test | |
| - run: ruff check bounty_judge/contracts | |
| - run: pytest bounty_judge/tests |