Merge pull request #7228 from elizaOS/renovate/biomejs-biome-2.x #258
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: Quality (Extended) | |
| # Additional quality gates layered on top of `ci.yaml`. These are the | |
| # milady-derived checks that have no equivalent job in the canonical | |
| # eliza CI: the homepage build (so PRs that touch packages/homepage | |
| # don't first regress on `develop` push) and a workspace-level | |
| # typecheck/biome format gate. | |
| on: | |
| pull_request: | |
| branches: [main, develop] | |
| paths-ignore: | |
| - "**/*.md" | |
| - "docs/**" | |
| - "AGENTS.md" | |
| - "CHANGELOG.md" | |
| - "LICENSE" | |
| - ".github/ISSUE_TEMPLATE/**" | |
| - ".github/pull_request_template.md" | |
| push: | |
| branches: [main, develop] | |
| paths-ignore: | |
| - "**/*.md" | |
| - "docs/**" | |
| - "AGENTS.md" | |
| - "CHANGELOG.md" | |
| - "LICENSE" | |
| - ".github/ISSUE_TEMPLATE/**" | |
| - ".github/pull_request_template.md" | |
| workflow_dispatch: | |
| concurrency: | |
| group: quality-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| BUN_VERSION: "1.3.13" | |
| NODE_VERSION: "23" | |
| jobs: | |
| homepage-build: | |
| name: Homepage Build (PR smoke) | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Setup workspace dependencies | |
| uses: ./.github/actions/setup-bun-workspace | |
| with: | |
| bun-version: ${{ env.BUN_VERSION }} | |
| install-command: bun install --ignore-scripts --no-frozen-lockfile | |
| skip-avatar-clone: "true" | |
| no-vision-deps: "true" | |
| - name: Build homepage | |
| working-directory: packages/homepage | |
| run: bun run build | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| format-check: | |
| name: Format Check (biome) | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Setup workspace dependencies | |
| uses: ./.github/actions/setup-bun-workspace | |
| with: | |
| bun-version: ${{ env.BUN_VERSION }} | |
| install-command: bun install --ignore-scripts --no-frozen-lockfile | |
| install-native-deps: "false" | |
| run-postinstall: "false" | |
| - name: Run biome format check | |
| run: bun run format:check |