新增 Gitea Actions 测试 workflow:push 即跑 vitest 全量

This commit is contained in:
jacobxu666
2026-08-20 14:23:09 +08:00
parent 063420595d
commit fe68ed7512
+12
View File
@@ -0,0 +1,12 @@
# xuchao: 自动化测试——push 即跑,守护题型校验/答案判定/编辑器组件
name: test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run test