From f9c7b7b9fdebee63e3fd004b9da0ac3834623b05 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Mon, 10 Feb 2025 16:36:08 +0100 Subject: [PATCH] run tanstack tests in CI --- .github/workflows/tests.yml | 6 ++++++ integration-test/tanstack-start/package.json | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 66f115be..564c3f2d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -116,6 +116,12 @@ jobs: - name: "Next.js: Test" run: yarn workspace @integration-test/nextjs run test | tee $GITHUB_STEP_SUMMARY; exit ${PIPESTATUS[0]} + - name: "TanStack Start: Build" + run: yarn workspace @integration-test/tanstack-start run build + + - name: "Next.js: Test" + run: yarn workspace @integration-test/tanstack-start run test | tee $GITHUB_STEP_SUMMARY; exit ${PIPESTATUS[0]} + - name: "Vite Streaming: Build" run: yarn workspace @integration-test/vite-streaming run build - name: "Vite Streaming: Test" diff --git a/integration-test/tanstack-start/package.json b/integration-test/tanstack-start/package.json index 35e794f8..64427754 100644 --- a/integration-test/tanstack-start/package.json +++ b/integration-test/tanstack-start/package.json @@ -6,7 +6,8 @@ "scripts": { "dev": "rm -rvf node_modules/.vinxi node_modules/.cache node_modules/.tanstack-start .output .vinxi && vinxi dev", "build": "rm -rvf node_modules/.vinxi node_modules/.cache node_modules/.tanstack-start .output .vinxi && vinxi build", - "start": "vinxi start" + "start": "vinxi start", + "test": "yarn test:tanstack" }, "dependencies": { "@apollo/client": "^3.12.4",