ci(gitea): 增加 Gitea Actions 门禁(runs-on linux,NAS runner)

This commit is contained in:
qiqi committed 2026-11-17 10:23:57 +08:00
1 parent d0c3edf352
commit 927b725373
1 file changed
+28
+28
View File
@@ -0,0 +1,28 @@
name: Verify
# Gitea Actions(自托管 NAS runner)用的门禁:只跑构建/单测/事实守门,
# 与 GitHub 版 .github/workflows/verify.yml 等价,但用 runner 自有 node:22 镜像,不装 setup-node。
on:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- 'docs/**'
- '.gitea/**'
workflow_dispatch:
concurrency:
group: verify-${{ github.ref }}
cancel-in-progress: true
jobs:
gate:
name: gate (build · unit · facts)
runs-on: linux
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: node -v && npm -v
- run: npm ci
- run: npm run verify:ci