Merge pull request #351 from Yormee-103/issue-300-market-selector-search #19
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: Integration Checks | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: integration-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| indexer: | |
| name: Indexer · codegen · build · tests · manifest sync | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Cache Bun dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.bun/install/cache | |
| key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-bun- | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Indexer codegen | |
| run: bun run --cwd apps/s03-indexer codegen | |
| - name: Indexer build | |
| run: bun run --cwd apps/s03-indexer build | |
| - name: Indexer mapping unit tests | |
| run: bun run --cwd apps/s03-indexer test | |
| - name: Manifest sync (offline fixtures) | |
| env: | |
| SO4_CONTRACTS_REPO: ${{ github.workspace }}/apps/s03-indexer/tests/fixtures/contracts-repo | |
| run: bun run --cwd apps/s03-indexer sync:contracts:local | |
| - name: Validate generated manifest | |
| run: bash scripts/validate-manifest.sh apps/s03-indexer/config/contracts.local.json | |
| web: | |
| name: Web · typecheck · build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Cache Bun dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.bun/install/cache | |
| key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-bun- | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Web typecheck | |
| run: bun run --cwd apps/web typecheck | |
| - name: Web build | |
| run: bun run --cwd apps/web build |