- 添加 SCALE Engine 配置 (.scale/) - 添加 OpenClaw Agent 配置 (.openclaw/) - 添加知识文档 (AGENTS.md, TOOLS.md) - 添加质量契约和工作流配置 - 添加 22 个工作流模板 - 添加验证脚本和门控脚本 - 添加 skills-registry 技能注册表
33 lines
683 B
YAML
33 lines
683 B
YAML
name: SCALE Preflight
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
|
|
jobs:
|
|
preflight:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
|
|
- name: Install project dependencies when present
|
|
shell: bash
|
|
run: |
|
|
if [ -f package-lock.json ]; then
|
|
npm ci
|
|
elif [ -f package.json ]; then
|
|
npm install
|
|
fi
|
|
|
|
- name: Run SCALE preflight
|
|
run: npx @hongmaple0820/scale-engine@latest preflight --service all --preflight-profile ci
|