fix(app): stabilize local-source desktop startup #1704
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: Validate Electrobun Release Workflow | |
| on: | |
| pull_request: | |
| branches: [main, develop] | |
| paths: | |
| - ".github/actions/setup-bun-workspace/**" | |
| - ".github/workflows/release-electrobun.yml" | |
| - ".github/workflows/test-electrobun-release.yml" | |
| - "eliza/packages/app-core/scripts/**" | |
| - "eliza/packages/app-core/platforms/electrobun/**" | |
| - "package.json" | |
| - "scripts/**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: test-electrobun-release-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| # Pin upstream eliza checkout to a known-good SHA. Upstream develop landed a | |
| # cloud-migration squash that broke milady CI; pinning here keeps reproducibility. | |
| # Bump after upstream stabilizes (or override with MILADY_ELIZA_REF env var). | |
| MILADY_ELIZA_REF: "f7a4e0bc50f966174ea42c41db787359ca6d8e67" | |
| BUN_VERSION: "1.3.13" | |
| NODE_NO_WARNINGS: "1" | |
| jobs: | |
| validate-release-workflow: | |
| name: Release Workflow Contract | |
| runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-24.04' || (vars.RUNNER_UBUNTU || 'ubuntu-24.04') }} | |
| timeout-minutes: 30 | |
| defaults: | |
| run: | |
| shell: bash -euo pipefail {0} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| submodules: false | |
| - name: Initialize eliza source checkout | |
| run: | | |
| if [ ! -f eliza/package.json ]; then | |
| git clone --depth=1 --branch "${MILADY_ELIZA_BRANCH:-develop}" https://github.com/elizaOS/eliza.git eliza | |
| if [ -n "${MILADY_ELIZA_REF:-}" ]; then | |
| git -C eliza fetch --depth=1 origin "$MILADY_ELIZA_REF" | |
| git -C eliza checkout --quiet FETCH_HEAD | |
| echo "Pinned eliza to ${MILADY_ELIZA_REF}" | |
| fi | |
| fi | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| - name: Setup Bun workspace | |
| uses: ./.github/actions/setup-bun-workspace | |
| with: | |
| bun-version: ${{ env.BUN_VERSION }} | |
| install-command: bun install --ignore-scripts | |
| install-native-deps: "false" | |
| run-postinstall: "true" | |
| skip-avatar-clone: "true" | |
| no-vision-deps: "true" | |
| skip-local-upstreams-postinstall: "true" | |
| - name: Run regression matrix contract | |
| run: bun run test:regression-matrix:release-contract | |
| - name: Run release contract suite | |
| run: bun run test:release:contract |