Skip to content

Fixed runtime errors and some npm stuff #5

Fixed runtime errors and some npm stuff

Fixed runtime errors and some npm stuff #5

Workflow file for this run

name: CI
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
backend:
runs-on: ubuntu-24.04-arm
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- name: Cache Rust build
uses: Swatinem/rust-cache@v2
with:
workspaces: "backend -> target"
- name: Build the project
run: cargo build
- name: Lint the project
run: cargo clippy -- -A unused_variables
- name: Run tests
run: cargo test
frontend:
runs-on: ubuntu-24.04-arm
defaults:
run:
working-directory: react-app
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
with:
node-version: "22.x"
cache: "npm"
cache-dependency-path: "react-app/package-lock.json"
- name: Install dependencies
run: npm i
- name: Build
run: npm run build
- name: Lint
run: npm exec biome lint