ci: pre-push hook + check suite + 35-assertion integration tests + deploy smoke script + Gitea Actions workflow
ci / test (push) Failing after 1m0s
ci / test (push) Failing after 1m0s
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
name: ci
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
# 前端依赖(tsc/vite);服务端零依赖不需要安装
|
||||
- name: Install frontend deps
|
||||
run: npm install --prefix app --no-audit --no-fund
|
||||
|
||||
- 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
|
||||
Reference in New Issue
Block a user