An open source design system that's fully customizable and agent ready
TypeScript
ci(deploy): run PR typecheck gates on push to main (#3215)
Cindy Zhang9c092f115801
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex 04ed956b06..8f37c2487d 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -66,6 +66,26 @@ jobs:- run: pnpm build+ # Typecheck gates mirroring the PR `build` job in ci.yml. ci.yml only runs+ # on pull_request/merge_group, so a typecheck error can land on main (its+ # push only runs `pnpm test`) undetected — then break the `build` check on+ # every open PR, which typechecks the PR merged with main (see #3197).+ # Running them here closes that gap and blocks a broken deploy.+ - name: Verify package exports+ run: node scripts/verify-exports.mjs++ - name: Typecheck component docs+ run: pnpm -F @astryxdesign/core typecheck:docs++ - name: Typecheck template docs+ run: pnpm -F @astryxdesign/cli typecheck:template-docs++ - name: Typecheck storybook+ run: pnpm -F @astryxdesign/storybook typecheck++ - name: Typecheck core (including tests)+ run: pnpm -F @astryxdesign/core typecheck+deploy:needs: testif: always() && !cancelled() && needs.test.result == 'success'