diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a54ec0c8..00d521481 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,17 @@ jobs: lint: name: Lint & Format runs-on: ubuntu-latest - + steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + - name: Setup Rust uses: dtolnay/rust-toolchain@stable with: @@ -34,6 +40,12 @@ jobs: sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev + - name: Install frontend dependencies + run: npm ci + + - name: Build frontend + run: npm run build + - name: Check formatting working-directory: src-tauri run: cargo fmt --all -- --check