chore: pr check (#181)

This commit is contained in:
Danny Xu
2025-07-09 19:39:41 -07:00
committed by GitHub
parent b878c59e7c
commit 45ef454090
2 changed files with 29 additions and 1 deletions

28
.github/workflows/pr-checks.yml vendored Normal file
View 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

View File

@ -7,7 +7,7 @@ export enum Engine {
TiDB = "TiDB",
Snowflake = "SNOWFLAKE",
Hive = "HIVE",
OceanBase = "OCEANBASE"
OceanBase = "OCEANBASE",
}
export interface SSLOptions {