From d13bdd5dc8dc78cb809f76cb0f43f6df1c5b7855 Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Thu, 29 Oct 2026 10:47:36 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=96=B0=E5=A2=9E=20Gitea=20Actions=20?= =?UTF-8?q?=E6=B5=81=E6=B0=B4=E7=BA=BF=EF=BC=88=E6=B5=8B=E8=AF=95/?= =?UTF-8?q?=E5=88=86=E6=9E=90/=E6=9E=84=E5=BB=BA=E9=97=A8=E7=A6=81?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..946a39d --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,28 @@ +# Author: fruit.com.cn +# ReelShortWeb 后台 CI:lint + 构建门禁 +name: web-ci + +on: + push: + branches: [develop, main] + pull_request: + branches: [develop, main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/setup-node@v4 + with: + node-version: "20" + cache: pnpm + - name: 依赖 + run: pnpm install --frozen-lockfile + - name: 类型检查 + run: pnpm ts:check + - name: 构建 + run: pnpm build:pro