Skip to content

fix: synonyms字段从KeywordGroup移到Keyword模型 #12

fix: synonyms字段从KeywordGroup移到Keyword模型

fix: synonyms字段从KeywordGroup移到Keyword模型 #12

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@v6
- name: Setup Python
uses: actions/setup-python@v6
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@v6
with:
node-version: "24"
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