Skip to content

feat(ui): polish loading, error, and feedback states across the dashboard #182

feat(ui): polish loading, error, and feedback states across the dashboard

feat(ui): polish loading, error, and feedback states across the dashboard #182

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
backend:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e ".[all]" ruff pytest pytest-asyncio
- name: Ruff lint
run: ruff check src/ tests/
- name: Run tests
env:
TAVILY_API_KEY: ""
YOUTUBE_API_KEY: ""
TWITTER_BEARER_TOKEN: ""
DATAFORSEO_LOGIN: ""
DATAFORSEO_PASSWORD: ""
XUEQIU_COOKIE: ""
run: pytest tests/ -v --tb=short
frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: TypeScript check
run: npx tsc -b --noEmit
- name: Build
run: npm run build