Skip to content

Added ModelProviderMenu component and reused it in PromptsendButton and MessageBase #1197

Added ModelProviderMenu component and reused it in PromptsendButton and MessageBase

Added ModelProviderMenu component and reused it in PromptsendButton and MessageBase #1197

Workflow file for this run

name: CI
on:
pull_request:
branches: ["main"]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
# Deal with OOM https://github.com/vitejs/vite/issues/2433
- run: NODE_OPTIONS="--max-old-space-size=8192" pnpm build
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test