diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 747d9a8b..72aa067c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,5 +59,5 @@ jobs: turbo-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}- turbo-${{ runner.os }}- - - name: Build and type check - run: pnpm turbo build typecheck + - name: Build, type check, and test + run: pnpm turbo build typecheck test diff --git a/turbo.json b/turbo.json index 3e98b540..25f29d58 100644 --- a/turbo.json +++ b/turbo.json @@ -18,6 +18,11 @@ "inputs": ["src/**", "package.json", "tsconfig.json"], "outputs": [] }, + "test": { + "dependsOn": ["^build"], + "inputs": ["src/**", "package.json", "tsconfig.json", "vitest.config.*"], + "outputs": [] + }, "lint": { "inputs": ["src/**", "package.json", "eslint.config.*", ".eslintrc.*"], "outputs": []