Wire Jumbo (lomi. Pos) into monorepo CI, audit, and docs #1
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 · jumbo | |
| on: | |
| push: | |
| branches: [main, develop] | |
| paths: | |
| - "apps/jumbo/**" | |
| - "packages/shared/**" | |
| - "packages/queries/**" | |
| - "tooling/scripts/install-app-with-packages.mjs" | |
| - ".github/workflows/app-ci-jumbo.yml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "apps/jumbo/**" | |
| - "packages/shared/**" | |
| - "packages/queries/**" | |
| - "tooling/scripts/install-app-with-packages.mjs" | |
| - ".github/workflows/app-ci-jumbo.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: apps/jumbo | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Checkout jumbo submodule | |
| working-directory: . | |
| env: | |
| TOKEN: ${{ secrets.REPO_CHECKOUT_PAT }} | |
| run: bash .github/scripts/init-submodules.sh apps/jumbo | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: pnpm | |
| cache-dependency-path: | | |
| apps/jumbo/pnpm-lock.yaml | |
| packages/shared/package.json | |
| packages/queries/package.json | |
| - name: Install Jumbo + shared packages | |
| working-directory: . | |
| run: node tooling/scripts/install-app-with-packages.mjs apps/jumbo | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Format | |
| run: pnpm format | |
| - name: Knip | |
| run: pnpm knip | |
| - name: Typecheck | |
| run: pnpm exec tsc --noEmit --incremental false | |
| - name: Test | |
| run: pnpm exec jest --ci --watchman=false |