From 945ef7dd759aa857d2eea5c196413e3448a28b4c Mon Sep 17 00:00:00 2001 From: Ryan Walters Date: Wed, 20 Aug 2025 08:30:45 -0500 Subject: [PATCH] ci: add libxdo-dev to dependency install, install dependencies before frontend build --- .github/workflows/ci.yml | 9 +++++---- .github/workflows/code-quality.yml | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4650ac2..b8901ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,16 +33,13 @@ jobs: - name: Install JS deps run: pnpm install --frozen-lockfile - - name: Build frontend (tsc + vite) - run: | - pnpm run build # implicitly runs generate-types - - name: Install Linux dependencies run: | sudo apt-get update sudo apt-get install -y \ pkg-config \ build-essential \ + libxdo-dev \ libssl-dev \ libglib2.0-dev \ libwebkit2gtk-4.1-dev \ @@ -50,6 +47,10 @@ jobs: librsvg2-dev \ patchelf + - name: Build frontend (tsc + vite) + run: | + pnpm run build # implicitly runs generate-types + - name: Format check run: cargo fmt --manifest-path src-tauri/Cargo.toml --all -- --check diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 582ade5..a3a413b 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -42,6 +42,7 @@ jobs: sudo apt-get install -y \ pkg-config \ build-essential \ + libxdo-dev \ libssl-dev \ libglib2.0-dev \ libwebkit2gtk-4.1-dev \