Skip to content

chore(deps-dev): bump @types/node from 26.2.0 to 26.4.0 in /desktop #375

chore(deps-dev): bump @types/node from 26.2.0 to 26.4.0 in /desktop

chore(deps-dev): bump @types/node from 26.2.0 to 26.4.0 in /desktop #375

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- heartbeat.log
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PYTHON_VERSION: "3.11"
NODE_VERSION: "22"
jobs:
backend:
name: Backend (Python)
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v7
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov httpx
- name: Lint with Ruff
run: pip install ruff && ruff check --output-format=github
- name: Run tests with coverage
run: |
python -m pytest tests/ -q --cov --cov-report=xml --cov-report=term --cov-fail-under=50 --ignore=tests/test_api_server.py
python -m pytest tests/test_api_server.py -q --cov=desktop --cov-report=term --cov-fail-under=40
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
flags: backend
fail_ci_if_error: false
frontend:
name: Frontend (TypeScript)
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: desktop
steps:
- uses: actions/checkout@v7
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v7
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: desktop/package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint with oxlint
run: npm run lint
- name: TypeScript check
run: npx tsc --noEmit
- name: Run tests
run: npm run test -- --reporter verbose
- name: Build
run: npm run build