chore(release): run the full CI suite before bumping a version
A local release now has to pass the same install, tests, catalog, typecheck, build, and lint steps as GitHub CI, so a broken tree cannot be tagged.
This commit is contained in:
6 files changed
+108
-21
No files matched your search
@@ -1,4 +1,5 @@
|
||||
# Run the root validation commands on every pull request.
|
||||
# Command list is duplicated in tools/ci-check.mjs — keep them identical.
|
||||
name: CI
|
||||
|
||||
on:
|
||||
@@ -38,14 +39,7 @@ jobs:
|
||||
# catalog.json the docs site consumes). Fail if the committed snapshot
|
||||
# drifted from the live specs — keeps the API docs from going stale.
|
||||
- name: Verify generated action catalog is up to date
|
||||
run: |
|
||||
catalog_status="$(git status --porcelain=v1 --untracked-files=all -- packages/mcp/src/generated)"
|
||||
if [ -n "$catalog_status" ]; then
|
||||
git diff -- packages/mcp/src/generated
|
||||
printf '%s\n' "$catalog_status"
|
||||
echo '::error::Generated action catalog is stale. Run `pnpm --filter @snowluma/mcp gen` and commit packages/mcp/src/generated/.' >&2
|
||||
exit 1
|
||||
fi
|
||||
run: node tools/check-action-catalog.mjs
|
||||
|
||||
typecheck:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -37,14 +37,7 @@ jobs:
|
||||
run: pnpm typecheck
|
||||
|
||||
- name: Verify generated action catalog is up to date
|
||||
run: |
|
||||
catalog_status="$(git status --porcelain=v1 --untracked-files=all -- packages/mcp/src/generated)"
|
||||
if [ -n "$catalog_status" ]; then
|
||||
git diff -- packages/mcp/src/generated
|
||||
printf '%s\n' "$catalog_status"
|
||||
echo '::error::Generated action catalog is stale. Run `pnpm --filter @snowluma/mcp gen` and commit packages/mcp/src/generated/.' >&2
|
||||
exit 1
|
||||
fi
|
||||
run: node tools/check-action-catalog.mjs
|
||||
|
||||
build:
|
||||
needs: preflight
|
||||
|
||||
Reference in new issue
Block a user