Skip to content

Enhancement: Improve layout for mobile #108

Enhancement: Improve layout for mobile

Enhancement: Improve layout for mobile #108

Workflow file for this run

name: PR Checks
on:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
backend-test:
# skip this check for closed PRs that are not merged
if: ${{ github.event.action != 'closed' || github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "backend/uv.lock"
# Install a specific version of uv.
version: "0.7.12"
- name: Set up Python
run: uv python install
- name: Sync dependencies
run: uv sync --dev
- name: Run formatter checks
run: uv run ruff format --check
- name: Run lint checks
run: uv run ruff check
- name: Run type checks
run: uv run ty check
- name: Run tests
env:
OPENAI_API_KEY: XXXX
PERSISTENT_STORAGE_DIR: /tmp/tenantfirstaid_data
run: uv run pytest -v -s
frontend-build:
# skip this check for closed PRs that are not merged
if: ${{ github.event.action != 'closed' || github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- name: Set up Node
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: Build frontend
run: npm run build
- name: Run linting checks
run: npm run lint