Files
FootPrint/.gitea/workflows/ci.yml
T
2026-10-16 22:09:49 +08:00

24 lines
762 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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