Files
chat-one-service/.gitea/workflows/ci.yml
alboped e30dedf5d4
All checks were successful
CI / ci (push) Successful in 1m38s
chore(ci): 升级公共 workflow 模板版本到 1.2
将 CI 与 Deploy 对可复用 prepare workflow 的引用统一从 1.1 升级到 1.2,确保两条流水线使用同一版模板能力。

Made-with: Cursor
2026-04-28 02:32:48 +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.2
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