All checks were successful
CI / ci (push) Successful in 1m38s
将 CI 与 Deploy 对可复用 prepare workflow 的引用统一从 1.1 升级到 1.2,确保两条流水线使用同一版模板能力。 Made-with: Cursor
21 lines
454 B
YAML
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
|