Wire Jumbo (lomi. Pos) into monorepo CI, audit, and docs #54
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: lomi · ci · doctool | |
| on: | |
| pull_request: | |
| paths: | |
| - "apps/api/**" | |
| - "apps/docs/**" | |
| - "apps/mcp/**" | |
| - "apps/sdks/ts/src/generated/**" | |
| - ".github/workflows/app-ci-doctool.yml" | |
| push: | |
| branches: [main] | |
| paths: | |
| - ".github/workflows/app-ci-doctool.yml" | |
| jobs: | |
| build-doctool: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/checkout@v5 | |
| with: | |
| repository: lomiafrica/doctool | |
| path: apps/tools/doctool | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| cache: pnpm | |
| cache-dependency-path: apps/docs/pnpm-lock.yaml | |
| - name: Build doctool (dt) | |
| working-directory: apps/tools/doctool | |
| run: cargo build --release -p doctool-cli | |
| - name: Run doctool tests | |
| working-directory: apps/tools/doctool | |
| run: cargo test --workspace | |
| - name: Install docs dependencies | |
| run: node tooling/scripts/install-app-with-packages.mjs apps/docs | |
| - name: Install MCP dependencies | |
| run: node tooling/scripts/install-app-with-packages.mjs apps/mcp | |
| - name: MCP unit tests | |
| working-directory: apps/mcp | |
| run: pnpm test | |
| - name: dt check | |
| run: ./apps/tools/doctool/target/release/dt check --root . | |
| - name: dt sync-i18n check | |
| run: ./apps/tools/doctool/target/release/dt sync-i18n --check --root . |