Skip to content

Commit 1b48b49

Browse files
KyleAMathewsclaude
andauthored
ci: Add build check for React todo example (#249)
Co-authored-by: Claude <[email protected]>
1 parent 6a0bd5f commit 1b48b49

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/pr.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,17 @@ jobs:
5757
repo-token: "${{ secrets.GITHUB_TOKEN }}"
5858
pattern: "./packages/react-db/dist/**/*.{js,mjs}"
5959
comment-key: "react-db-package-size"
60+
build-example:
61+
name: Build Example Site
62+
runs-on: ubuntu-latest
63+
steps:
64+
- name: Checkout
65+
uses: actions/[email protected]
66+
- name: Setup Tools
67+
uses: tanstack/config/.github/setup@main
68+
- name: Build Packages
69+
run: pnpm run build
70+
- name: Build Example Site
71+
run: |
72+
cd examples/react/todo
73+
pnpm build

0 commit comments

Comments
 (0)