Skip to content

docs: add social preview image (1280x640) #2

docs: add social preview image (1280x640)

docs: add social preview image (1280x640) #2

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
frontend:
name: Frontend Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npx tsc --noEmit
- run: npx vite build
rust-check:
name: Rust Check (${{ matrix.label }})
strategy:
fail-fast: false
matrix:
include:
- label: linux
os: ubuntu-22.04
- label: windows
os: windows-latest
- label: macos
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- name: Install Linux dependencies
if: matrix.label == 'linux'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- run: npm ci
- run: npx vite build
- name: Cargo check
working-directory: src-tauri
run: cargo check
- name: Cargo test
working-directory: src-tauri
run: cargo test --lib 2>/dev/null || true