chore: 清理 v2 过时残留(旧 API 文档/人格配置/部署目录/compose/启动脚本/密钥备份/旧CI),更新 gitignore
This commit is contained in:
1 parent
8b310feceb
commit
4506f639dd
16 files changed
+1
-1012
No files matched your search
@@ -1,32 +0,0 @@
|
||||
name: Cyrene CI
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
backend:
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
postgres:
|
||||
image: pgvector/pgvector:pg16
|
||||
env: {POSTGRES_USER: cyrene, POSTGRES_PASSWORD: cyrene_pass, POSTGRES_DB: cyrene_ai}
|
||||
ports: [5432:5432]
|
||||
options: >-
|
||||
--health-cmd pg_isready --health-interval 10s --health-timeout 3s --health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with: {go-version: '1.26'}
|
||||
- run: go test ./...
|
||||
working-directory: backend
|
||||
env: {POSTGRES_HOST: localhost, POSTGRES_PORT: "5432", POSTGRES_USER: cyrene, POSTGRES_PASSWORD: cyrene_pass, POSTGRES_DB: cyrene_ai, LLM_API_KEY: skip, JWT_SECRET: test-secret-32bytes-minimum!!, ADMIN_PASSWORD: test12345}
|
||||
|
||||
frontend:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with: {node-version: '22'}
|
||||
- run: npm ci
|
||||
working-directory: frontend/web
|
||||
- run: npx tsc --noEmit
|
||||
working-directory: frontend/web
|
||||
- run: npm run build
|
||||
working-directory: frontend/web
|
||||
Reference in new issue
Block a user