From 115c0f9ac2c29a11ced5f579d9bb59d2740f40ff Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Thu, 10 Jul 2025 10:30:43 -0600 Subject: [PATCH 1/2] ci: Add build check for React todo example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/pr.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9440df60c..2294e32b1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -57,3 +57,15 @@ jobs: repo-token: "${{ secrets.GITHUB_TOKEN }}" pattern: "./packages/react-db/dist/**/*.{js,mjs}" comment-key: "react-db-package-size" + build-example: + name: Build Example Site + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + - name: Setup Tools + uses: tanstack/config/.github/setup@main + - name: Build Example Site + run: | + cd examples/react/todo + pnpm build From 9dc7c89b6034cc7d302a3e0dc0ac52c733d4dcec Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Thu, 10 Jul 2025 10:35:47 -0600 Subject: [PATCH 2/2] ci: Build packages before building example site MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2294e32b1..14d56eeaa 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -65,6 +65,8 @@ jobs: uses: actions/checkout@v4.2.2 - name: Setup Tools uses: tanstack/config/.github/setup@main + - name: Build Packages + run: pnpm run build - name: Build Example Site run: | cd examples/react/todo