diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..1055702 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,22 @@ +name: check + +on: + pull_request: + workflow_dispatch: + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + run_install: false + - uses: actions/setup-node@v4 + with: + cache: pnpm + node-version: latest + registry-url: https://registry.npmjs.org + - run: pnpm install + - run: pnpm build + - run: pnpm lint diff --git a/src/components/settings/settings-chat.tsx b/src/components/settings/settings-chat.tsx index 775c29c..865d9e1 100644 --- a/src/components/settings/settings-chat.tsx +++ b/src/components/settings/settings-chat.tsx @@ -4,8 +4,8 @@ import { useOnline } from '@uiw/react-use-online' import { useChatModel, useEmbedModel } from '../../hooks/use-model' import { useListModels } from '../../hooks/xsai/use-list-models' +import { DebouncedTextField } from '../debounced-textfield.tsx' import * as Sheet from '../ui/sheet' -import {DebouncedTextField} from "../debounced-textfield.tsx"; export const SettingsChat = () => { const [chatModel, setChatModel] = useChatModel() diff --git a/src/db/generated/meta/0000_snapshot.json b/src/db/generated/meta/0000_snapshot.json index d89f2d9..3ba0822 100644 --- a/src/db/generated/meta/0000_snapshot.json +++ b/src/db/generated/meta/0000_snapshot.json @@ -53,4 +53,4 @@ "internal": { "indexes": {} } -} \ No newline at end of file +} diff --git a/src/db/generated/meta/_journal.json b/src/db/generated/meta/_journal.json index ff182bc..64eb816 100644 --- a/src/db/generated/meta/_journal.json +++ b/src/db/generated/meta/_journal.json @@ -10,4 +10,4 @@ "breakpoints": true } ] -} \ No newline at end of file +}