Enhance AgentView role management and localization updates #69
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: CI | |
| on: | |
| push: | |
| branches: [main, dev] | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: TypeScript type check | |
| run: pnpm exec tsc --noEmit | |
| release: | |
| name: Build (${{ matrix.label }}) | |
| needs: lint | |
| if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') | |
| permissions: | |
| contents: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - platform: macos-latest | |
| label: macos-aarch64 | |
| rust-target: aarch64-apple-darwin | |
| tauri-args: '--target aarch64-apple-darwin' | |
| node-dist-triple: darwin-arm64 | |
| - platform: macos-latest | |
| label: macos-x86_64 | |
| rust-target: x86_64-apple-darwin | |
| tauri-args: '--target x86_64-apple-darwin' | |
| node-dist-triple: darwin-x64 | |
| - platform: ubuntu-22.04 | |
| label: linux-x64 | |
| rust-target: '' | |
| tauri-args: '' | |
| node-dist-triple: linux-x64 | |
| - platform: windows-latest | |
| label: windows-x64 | |
| rust-target: '' | |
| tauri-args: '' | |
| node-dist-triple: win-x64 | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install system dependencies (Linux) | |
| if: matrix.platform == 'ubuntu-22.04' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libwebkit2gtk-4.1-dev build-essential curl wget file \ | |
| libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: Install Rust stable | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Add Rust target (macOS cross-arch) | |
| if: matrix.rust-target != '' | |
| run: rustup target add ${{ matrix.rust-target }} | |
| - name: Rust cache | |
| uses: swatinem/rust-cache@v2 | |
| with: | |
| workspaces: src-tauri -> target | |
| key: ${{ matrix.label }} | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Verify npm availability (Windows) | |
| if: matrix.platform == 'windows-latest' | |
| shell: pwsh | |
| run: | | |
| Write-Host "Checking npm..." | |
| where.exe npm | |
| npm --version | |
| - name: Build and attach to GitHub Release | |
| uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} | |
| POND_NODE_DIST_TRIPLE: ${{ matrix.node-dist-triple }} | |
| RUST_BACKTRACE: 1 | |
| VERBOSE: 1 | |
| NO_STRIP: true | |
| APPIMAGE_EXTRACT_AND_RUN: 1 | |
| with: | |
| tagName: v__VERSION__ | |
| releaseName: 'Pond v__VERSION__' | |
| args: ${{ matrix.tauri-args }} | |
| releaseBody: | | |
| **macOS (two DMGs):** **Apple Silicon (M1/M2/M3)** — asset name usually contains `aarch64` or `arm64`. **Intel (x86_64)** — separate DMG. Pick the one that matches your Mac. | |
| Open the DMG, drag Pond to Applications. If Gatekeeper blocks the app, Control-click the app, choose Open once, or allow in System Settings. | |
| **Windows:** MSI installer for 64-bit Windows. | |
| **Linux:** AppImage (x86_64). `chmod +x` then run, or integrate with your distro. | |
| releaseDraft: true | |
| prerelease: false |