Merge pull request #3954 from elizaOS/v2-memory-edit #1
This file contains 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: Native App | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
# Skip binary downloads during install | |
YOUTUBE_DL_SKIP_DOWNLOAD: true | |
ADBLOCK: true | |
PUPPETEER_SKIP_DOWNLOAD: true | |
CYPRESS_INSTALL_BINARY: 0 | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | |
on: | |
push: | |
branches: [main, develop, v2-develop] | |
paths: | |
- 'packages/app/**' | |
- '.github/workflows/**' | |
pull_request: | |
branches: [v2-develop] | |
paths: | |
- 'packages/app/**' | |
- '.github/workflows/**' | |
jobs: | |
test-build: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '23' | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v2 | |
- name: Setup Rust | |
run: | | |
rustup update stable | |
rustup default stable | |
shell: bash | |
- name: Rust cache | |
uses: swatinem/rust-cache@v2 | |
with: | |
workspaces: './packages/app/src-tauri -> target' | |
- name: Install dependencies (ubuntu only) | |
if: matrix.platform == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev libx11-dev libxdo-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev | |
- name: Install dependencies | |
run: bun install | |
env: | |
NPM_CONFIG_IGNORE_SCRIPTS: true | |
- name: Build packages | |
run: bun run build | |
- name: Run TypeScript check | |
run: | | |
cd packages/app | |
bun run typecheck | |
- name: Install Tauri CLI | |
run: | | |
bun install -g @tauri-apps/cli | |
shell: bash | |
- name: Test build (verify it compiles) | |
run: | | |
cd packages/app | |
bun run tauri build --debug |