mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-23 23:11:37 +08:00
chore: pr check (#181)
This commit is contained in:
28
.github/workflows/pr-checks.yml
vendored
Normal file
28
.github/workflows/pr-checks.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: PR Checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
lint-and-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install pnpm
|
||||
run: npm install -g pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run lint
|
||||
run: pnpm lint
|
||||
|
||||
- name: Run build
|
||||
run: pnpm build
|
@ -7,7 +7,7 @@ export enum Engine {
|
||||
TiDB = "TiDB",
|
||||
Snowflake = "SNOWFLAKE",
|
||||
Hive = "HIVE",
|
||||
OceanBase = "OCEANBASE"
|
||||
OceanBase = "OCEANBASE",
|
||||
}
|
||||
|
||||
export interface SSLOptions {
|
||||
|
Reference in New Issue
Block a user