Skip to content

build(ts): exclude tsbuildinfo artifacts from version control #26

build(ts): exclude tsbuildinfo artifacts from version control

build(ts): exclude tsbuildinfo artifacts from version control #26

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
check-frontend:
name: Check and Build Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Svelte Check
run: npm run check
- name: Build
run: npm run build
check-backend:
name: Check Backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Cache target
uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri -> target
- name: Format Check
run: cargo fmt --manifest-path src-tauri/Cargo.toml -- --check
- name: Clippy
run: cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings
- name: Cargo Check
run: cargo check --manifest-path src-tauri/Cargo.toml