feat(eink): improve logging for debugging display failures #290
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: Embed UI CI | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - "apps/forwarder-ui/**" | |
| - "apps/shared-ui/**" | |
| - "services/forwarder/**" | |
| - "package.json" | |
| - "package-lock.json" | |
| - ".github/workflows/embed-ui.yml" | |
| - "!**/*.md" | |
| - "!**/LICENSE*" | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - "apps/forwarder-ui/**" | |
| - "apps/shared-ui/**" | |
| - "services/forwarder/**" | |
| - "package.json" | |
| - "package-lock.json" | |
| - ".github/workflows/embed-ui.yml" | |
| - "!**/*.md" | |
| - "!**/LICENSE*" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| changes: | |
| name: Detect changes | |
| runs-on: self-hosted | |
| outputs: | |
| forwarder: ${{ steps.filter.outputs.forwarder }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Detect changed paths | |
| uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| filters: | | |
| forwarder: | |
| - "apps/forwarder-ui/**" | |
| - "apps/shared-ui/**" | |
| - "services/forwarder/**" | |
| - "package.json" | |
| - "package-lock.json" | |
| forwarder-embed-ui: | |
| name: Forwarder embed-ui build | |
| needs: changes | |
| if: needs.changes.outputs.forwarder == 'true' | |
| runs-on: self-hosted | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Rust artifacts | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: package-lock.json | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Install Rollup Linux optional dependency workaround | |
| if: runner.os == 'Linux' | |
| run: npm install --no-save @rollup/rollup-linux-x64-gnu lightningcss-linux-x64-gnu @tailwindcss/oxide-linux-x64-gnu | |
| - name: Build and test forwarder with embedded UI | |
| run: cargo test -p forwarder --features embed-ui --test ui_embed_fallback |