Skip to content

Fix ARCHITECTURE.md: event forwarders live in state.rs, stats emitter… #1

Fix ARCHITECTURE.md: event forwarders live in state.rs, stats emitter…

Fix ARCHITECTURE.md: event forwarders live in state.rs, stats emitter… #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- uses: dtolnay/rust-toolchain@stable
- uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- run: npm ci
- name: Frontend type check
run: npm run check
- name: Frontend tests
run: npm test
- name: Frontend build
run: npm run build
- name: Rust tests
run: cargo test --manifest-path src-tauri/Cargo.toml