Skip to content

Sync production system and repository governance #1

Sync production system and repository governance

Sync production system and repository governance #1

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build-and-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Backend dependencies
working-directory: backend
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Backend syntax check
working-directory: backend
run: python -m compileall app
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Frontend dependencies
working-directory: frontend
run: npm ci
- name: Frontend build
working-directory: frontend
run: npm run build