Skip to content

fix: audit fixes — error boundary, prefix, docs accuracy, shortcuts #35

fix: audit fixes — error boundary, prefix, docs accuracy, shortcuts

fix: audit fixes — error boundary, prefix, docs accuracy, shortcuts #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Build web UI
working-directory: web
run: npm ci && npm run build
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy -- -D warnings
- name: Tests
run: cargo test
- name: Build release
run: cargo build --release
web-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install dependencies
working-directory: web
run: npm ci
- name: Lint
working-directory: web
run: npm run lint
- name: Type check
working-directory: web
run: npx tsc --noEmit
- name: Build
working-directory: web
run: npm run build