Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

👷 build: fix build (#9847)

Arvin Xu48ee38cf9b81
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 97027e83a1b..4745fd43171 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -145,26 +145,24 @@ jobs:
node-version: 22
package-manager-cache: false
- - name: Install bun
- uses: oven-sh/setup-bun@v2
- with:
- bun-version: 1.2.23
+ - name: Install pnpm
+ uses: pnpm/action-setup@v4
- name: Install deps
- run: bun i
+ run: pnpm i
- name: Lint
- run: bun run lint
+ run: npm run lint
- name: Test Client DB
- run: bun run --filter @lobechat/database test:client-db
+ run: pnpm --filter @lobechat/database test:client-db
env:
KEY_VAULTS_SECRET: LA7n9k3JdEcbSgml2sxfw+4TV1AzaaFU5+R176aQz4s=
S3_PUBLIC_DOMAIN: https://example.com
APP_URL: https://home.com
- name: Test Coverage
- run: bun run --filter @lobechat/database test:coverage
+ run: pnpm --filter @lobechat/database test:coverage
env:
DATABASE_TEST_URL: postgresql://postgres:postgres@localhost:5432/postgres
DATABASE_DRIVER: node
diff --git a/.gitignore b/.gitignore
index a95429fa7f2..4171a9fde53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -117,3 +117,4 @@ CLAUDE.local.md
prd
GEMINI.md
+e2e/reports
diff --git a/src/layout/GlobalProvider/Query.tsx b/src/layout/GlobalProvider/Query.tsx
index 22a39db19ef..7444d215058 100644
--- a/src/layout/GlobalProvider/Query.tsx
+++ b/src/layout/GlobalProvider/Query.tsx
@@ -1,7 +1,6 @@
'use client';
-import { QueryClient } from '@tanstack/query-core';
-import { QueryClientProvider } from '@tanstack/react-query';
+import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import React, { PropsWithChildren, useState } from 'react';
import { lambdaQuery, lambdaQueryClient } from '@/libs/trpc/client';