chore: remove Gitea Actions workflow (no runner; restore from history if ever needed)
This commit is contained in:
@@ -1,23 +0,0 @@
|
|||||||
name: ci
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
# 作业容器直接用国内镜像的 node:24(node:sqlite 需要 >= 22.5)
|
|
||||||
container:
|
|
||||||
image: docker.1ms.run/library/node:24-bookworm
|
|
||||||
steps:
|
|
||||||
- name: Install git (checkout 依赖)
|
|
||||||
run: apt-get update -qq && apt-get install -y -qq git ca-certificates
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install frontend deps (npmmirror)
|
|
||||||
run: npm install --prefix app --no-audit --no-fund --registry=https://registry.npmmirror.com
|
|
||||||
|
|
||||||
- name: Static checks (syntax + tsc + build + tripwire)
|
|
||||||
run: node scripts/check.mjs
|
|
||||||
|
|
||||||
- name: Integration tests (seed/login/invite-CRUD/registration)
|
|
||||||
run: node scripts/test-integration.mjs
|
|
||||||
@@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
> 个人成长档案馆 —— 面向大学生的留痕、检索、量化与多端同步系统。
|
> 个人成长档案馆 —— 面向大学生的留痕、检索、量化与多端同步系统。
|
||||||
|
|
||||||
<!-- CI 徽章:配置 act_runner 后恢复此行
|
|
||||||

|
|
||||||
-->
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
@@ -106,7 +103,6 @@ node scripts/smoke.mjs <url> <user> <pass> # 部署后冒烟
|
|||||||
git config core.hooksPath .githooks # 启用 pre-push 钩子:工作区不干净或测试红,push 直接拒绝
|
git config core.hooksPath .githooks # 启用 pre-push 钩子:工作区不干净或测试红,push 直接拒绝
|
||||||
```
|
```
|
||||||
|
|
||||||
CI:push 自动跑 check + 集成测试(见 `.gitea/workflows/ci.yml`,需在 Gitea 配置 act_runner)。
|
|
||||||
|
|
||||||
## 项目结构
|
## 项目结构
|
||||||
|
|
||||||
@@ -124,7 +120,7 @@ CI:push 自动跑 check + 集成测试(见 `.gitea/workflows/ci.yml`,需
|
|||||||
├─ .gitea/workflows/ # CI
|
├─ .gitea/workflows/ # CI
|
||||||
├─ .githooks/ # pre-push 钩子
|
├─ .githooks/ # pre-push 钩子
|
||||||
├─ docs/ # api.md(HTTP API)· DESIGN.md(设计底稿)· examples/
|
├─ docs/ # api.md(HTTP API)· DESIGN.md(设计底稿)· examples/
|
||||||
└─ .gitea/ .githooks/ # CI workflow 与 pre-push 钩子
|
└─ .githooks/ # pre-push 质量门禁(check + 35 条集成断言)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 环境变量(sync-server)
|
## 环境变量(sync-server)
|
||||||
|
|||||||
Reference in New Issue
Block a user