From 927b7253738c91da2bf0bea7ea59872554b66674 Mon Sep 17 00:00:00 2001 From: qiqi Date: Tue, 17 Nov 2026 10:23:57 +0800 Subject: [PATCH] =?UTF-8?q?ci(gitea):=20=E5=A2=9E=E5=8A=A0=20Gitea=20Actio?= =?UTF-8?q?ns=20=E9=97=A8=E7=A6=81=EF=BC=88runs-on=20linux=EF=BC=8CNAS=20r?= =?UTF-8?q?unner=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/verify.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/verify.yml diff --git a/.gitea/workflows/verify.yml b/.gitea/workflows/verify.yml new file mode 100644 index 0000000..2b458c9 --- /dev/null +++ b/.gitea/workflows/verify.yml @@ -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