feat(explorer): enable rail settlements in console #123
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: Build | |
| on: | |
| pull_request: | |
| branches: [main, develop] | |
| paths: | |
| - "apps/**" | |
| - "packages/**" | |
| - "package.json" | |
| - "pnpm-lock.yaml" | |
| - "turbo.json" | |
| - ".github/workflows/build.yml" | |
| push: | |
| branches: [main, develop] | |
| paths: | |
| - "apps/**" | |
| - "packages/**" | |
| - "package.json" | |
| - "pnpm-lock.yaml" | |
| - "turbo.json" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.15.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build all packages | |
| run: pnpm build | |
| env: | |
| # CI/CD validation only - uses placeholder URLs if secrets not set | |
| NEXT_PUBLIC_SUBGRAPH_URL_MAINNET: ${{ secrets.NEXT_PUBLIC_SUBGRAPH_URL_MAINNET || 'https://placeholder.invalid/mainnet' }} | |
| NEXT_PUBLIC_SUBGRAPH_URL_CALIBRATION: ${{ secrets.NEXT_PUBLIC_SUBGRAPH_URL_CALIBRATION || 'https://placeholder.invalid/calibration' }} |