Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/types/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export enum Engine {
TiDB = "TiDB",
Snowflake = "SNOWFLAKE",
Hive = "HIVE",
OceanBase = "OCEANBASE"
OceanBase = "OCEANBASE",
}

export interface SSLOptions {
Expand Down