feat: The version synchronization and skills generation are executed in the pre-commit hook

This commit is contained in:
qcq01083097
2026-06-08 17:41:33 +08:00
parent d75ddb407a
commit 00934973e9
10 changed files with 34 additions and 16 deletions
+2 -9
View File
@@ -25,16 +25,9 @@ jobs:
- run: pnpm install --frozen-lockfile
- run: pnpm -r --filter "./packages/*" build
- run: pnpm run sync:skill-assets
- name: Verify generated skill assets are committed
run: |
if ! git diff --exit-code -- skills/bailian-cli/SKILL.md skills/bailian-cli/reference/; then
echo "::error::skills/bailian-cli/SKILL.md or reference/ differs from build output."
echo "Run: pnpm --filter bailian-cli run build"
echo "Then commit the updated files."
exit 1
fi
- run: pnpm -r --filter "./packages/*" build
- run: pnpm run check