Files
chat-one-service/.gitea/workflows/ci.yml
alboped c2bc484b21
Some checks failed
CI / ci (push) Has been cancelled
refactor(ci): 统一接入公共 workflow_call 模板
将 CI/Deploy 从本地脚本与中间复用层切换为公共 reusable-prepare-workspace 工作流,并规范 deploy 命令中的密钥注入方式,降低重复维护与调用兼容风险。

Made-with: Cursor
2026-04-28 02:31:26 +08:00

21 lines
454 B
YAML

name: CI
on:
push:
branches: ["main"]
pull_request:
jobs:
ci:
uses: platform/workflow/.gitea/workflows/reusable-prepare-workspace.yml@1.1
with:
repo_url: "${{ github.server_url }}/${{ github.repository }}.git"
git_sha: "${{ github.sha }}"
node_major: "22"
yarn_version: "stable"
run_commands: |
set -euo pipefail
yarn install --frozen-lockfile
yarn lint
yarn tsc --noEmit