mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-13 19:20:04 +00:00
🔨 chore: split test-app shards and deprecate isOnboarded (#13938)
This commit is contained in:
@@ -97,8 +97,8 @@ jobs:
|
||||
if: needs.check-duplicate-run.outputs.should_skip != 'true'
|
||||
strategy:
|
||||
matrix:
|
||||
shard: [1, 2]
|
||||
name: Test App (shard ${{ matrix.shard }}/2)
|
||||
shard: [1, 2, 3]
|
||||
name: Test App (shard ${{ matrix.shard }}/3)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
@@ -110,7 +110,7 @@ jobs:
|
||||
run: pnpm install
|
||||
|
||||
- name: Run tests
|
||||
run: bunx vitest --coverage --silent='passed-only' --reporter=default --reporter=blob --shard=${{ matrix.shard }}/2
|
||||
run: bunx vitest --coverage --silent='passed-only' --reporter=default --reporter=blob --shard=${{ matrix.shard }}/3
|
||||
|
||||
- name: Upload blob report
|
||||
if: ${{ !cancelled() }}
|
||||
|
||||
@@ -25,6 +25,7 @@ export const users = pgTable(
|
||||
fullName: text('full_name'),
|
||||
interests: varchar('interests', { length: 64 }).array(),
|
||||
|
||||
/** @deprecated */
|
||||
isOnboarded: boolean('is_onboarded').default(false),
|
||||
agentOnboarding: jsonb('agent_onboarding').$type<UserAgentOnboarding>(),
|
||||
onboarding: jsonb('onboarding').$type<UserOnboarding>(),
|
||||
|
||||
Reference in New Issue
Block a user