Skip to content

Bump @react-sigma/core from 4.0.3 to 5.0.6 in /apps/desktop #32

Bump @react-sigma/core from 4.0.3 to 5.0.6 in /apps/desktop

Bump @react-sigma/core from 4.0.3 to 5.0.6 in /apps/desktop #32

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v4
with:
version: "latest"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: cd apps/api && uv sync --dev
- name: Ruff check
run: cd apps/api && uv run ruff check .
- name: Ruff format check
run: cd apps/api && uv run ruff format --check .
test-backend:
name: Test Backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v4
with:
version: "latest"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: cd apps/api && uv sync --dev
- name: Run tests with coverage
run: cd apps/api && uv run pytest --cov=nexus --cov-report=xml --cov-report=term-missing -v
env:
JWT_SECRET: "test-secret-key-for-ci-only-not-production"
SHODAN_API_KEY: "test"
VIRUSTOTAL_API_KEY: "test"
ABUSEIPDB_API_KEY: "test"
ALIENVAULT_OTX_API_KEY: "test"
- name: Upload coverage
if: always()
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: apps/api/coverage.xml
test-frontend:
name: Test Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm --filter @nexus/desktop exec tsc --noEmit
- name: Lint
run: pnpm --filter @nexus/desktop lint
build-desktop:
name: Build Desktop (${{ matrix.os }})
needs: [lint, test-backend, test-frontend]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm --filter @nexus/desktop build
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: desktop-${{ matrix.os }}
path: apps/desktop/release/*
retention-days: 7