maestro-ci
其他 活跃维护

maestro-ci

ddtcorex/maestro-ci

Reusable GitHub Actions workflows for the Maestro suite: Node plugin CI and tag-driven release

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
Shell
主要语言
None
开源协议
66 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:ddtcorex/maestro-ci
git clone https://github.com/ddtcorex/maestro-ci.git
git clone git@github.com:ddtcorex/maestro-ci.git
README.md master

ddtcorex/maestro-ci

Reusable GitHub Actions workflows for the Maestro suite. Callers live in
each repo as a thin .github/workflows/ci.yml; fix or extend pipelines
here once and every repo picks it up on its next run.

Workflows

node-plugin.yml

CI for every Node plugin package (packages/dsh-maestro-*, maestro-skills).
Steps: frozen-lockfile install → build → optional client bundle → test →
flat-lib/index.js contract → publish dry-run.

Inputs (all optional): node-version (22), pnpm-version (11),
run-build (true), run-client-build (false), require-lib-index (true).

Caller template:

name: CI
on:
  push:
    branches: [master]
  pull_request:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

permissions:
  contents: read

jobs:
  verify:
    uses: ddtcorex/maestro-ci/.github/workflows/node-plugin.yml@85d17f85a15c9a5e0a39638eb72925a095625d0e

Special cases:

  • Patch-only bundle (no lib/): pass run-build: false and
    require-lib-index: false.
  • Client bundle (dsh-maestro-mobile, dsh-maestro-config): pass
    run-client-build: true.

Versioning

Callers pin a full commit SHA of master (see caller template above). After
merging a workflow change here, bump the SHA in every caller repo so the
change is reviewed per-repo. Use gh api repos/ddtcorex/maestro-ci/commits/master --jq .sha to get the current SHA. Never pin @master — SHA pinning ensures reproducible, reviewable pipelines per checklist §5.