Skip to content

feat: Add interactive 3D lab visualization with device components #42

feat: Add interactive 3D lab visualization with device components

feat: Add interactive 3D lab visualization with device components #42

Workflow file for this run

name: Code Checks
on:
pull_request:
branches: [main]
paths:
- "service/**"
- "web/**"
- ".pre-commit-config.yaml"
- ".github/workflows/pre-commit.yaml"
jobs:
pre-commit:
runs-on: ubuntu-latest
name: Pre-commit Hooks
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Set up uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
enable-cache: true
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Enable Corepack for Yarn
run: corepack enable
- name: Install Python dependencies
working-directory: ./service
run: |
echo "Installing Python dependencies..."
uv tool install pre-commit
uv sync --all-groups
echo "Python dependencies installed successfully"
- name: Install frontend dependencies
working-directory: ./web
run: |
echo "Installing frontend dependencies..."
yarn install --frozen-lockfile
echo "Frontend dependencies installed successfully"
- name: Run pre-commit hooks
run: |
echo "Running all pre-commit hooks (Backend + Frontend)..."
uv run pre-commit run --all-files
echo "All pre-commit hooks completed successfully"