You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0e6a779
Browse filesBrowse the repository at this point in the historyBrowse files
ci(ui-merge): run objectui's nineteen Repo Gates in the root Lint UI job
The gates of ui/.github/workflows/repo-gates.yml stopped running when the
tree moved under ui/, because GitHub reads only the root workflows. They
judge the shipped docs, skill guides, READMEs and documented component
types. Port them into lint-ui in the nested workflow's order: install-free
gates before the install, built-type gates after one filtered build.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015MoCPtpv6AtTo899tF8Ktq
args="$(pnpm --dir ui run --silent check:skill-examples --build-filter)" || status=$?
3576
+
if [ "$status" -ne 0 ]; then
3577
+
echo "::error::Could not derive the build filter: \`check:skill-examples --build-filter\` exited $status. Refusing to continue — carrying on would build every package instead of the ones the marked examples import." >&2
3578
+
exit "$status"
3579
+
fi
3580
+
case "$args" in
3581
+
*--filter=*) ;;
3582
+
*)
3583
+
echo "::error::The derived build filter names no package (got: '$args'). Refusing to continue." >&2
3584
+
exit 1
3585
+
;;
3586
+
esac
3587
+
echo "args=$args" >> "$GITHUB_OUTPUT"
3588
+
3589
+
- name: Doc Snippet Type Check — Derive the packages the covered snippets import
args="$(pnpm --dir ui run --silent check:doc-snippets --build-filter)" || status=$?
3595
+
if [ "$status" -ne 0 ]; then
3596
+
echo "::error::Could not derive the build filter: \`check:doc-snippets --build-filter\` exited $status. Refusing to continue — carrying on would build every package instead of the ones the covered snippets import." >&2
3597
+
exit "$status"
3598
+
fi
3599
+
case "$args" in
3600
+
*--filter=*) ;;
3601
+
*)
3602
+
echo "::error::The derived build filter names no package (got: '$args'). Refusing to continue." >&2
3603
+
exit 1
3604
+
;;
3605
+
esac
3606
+
echo "args=$args" >> "$GITHUB_OUTPUT"
3607
+
3608
+
# One build for the gates below: every package under `ui/packages/` (the
3609
+
# README export check reads each one's declared type entry) in union with
3610
+
# the two derived closures. The derived filters are lists of `--filter=`
3611
+
# words and stay unquoted so they word-split. ⛔ Never an unfiltered
3612
+
# `turbo run build`.
3613
+
- name: Build every ui package the gates below read
0 commit comments