Skip to content

ci(deps): bump actions/deploy-pages from 5.0.0 to 5.0.1 in the github-actions group #357

ci(deps): bump actions/deploy-pages from 5.0.0 to 5.0.1 in the github-actions group

ci(deps): bump actions/deploy-pages from 5.0.0 to 5.0.1 in the github-actions group #357

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
merge_group:
types:
- checks_requested
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
name: pre-commit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
version: "0.12.0"
- name: Sync backend tooling
run: uv sync --project backend --all-packages --all-groups --frozen
- name: Test backend
run: uv run --project backend python -m pytest -q
- name: Run pre-commit
run: uv run --project backend pre-commit run --all-files --show-diff-on-failure
frontend:
name: frontend
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install frontend dependencies
working-directory: frontend
run: npm ci
- name: Lint frontend
working-directory: frontend
run: npm run lint
- name: Test frontend
working-directory: frontend
run: npm test
- name: Build frontend
working-directory: frontend
run: npm run build