-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: upgrade pnpm to 9.7.0 and abandon yarn (#344)
* build: upgrade pnpm to 9.7.0 and abandon yarn * ci: update github ci action * chore: move config to package.json and add keywords * style: prettier format all files
- Loading branch information
Showing
16 changed files
with
7,875 additions
and
9,732 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,66 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
title: "[Bug]: " | ||
title: '[Bug]: ' | ||
labels: [] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
description: Which version did the problem appear on? | ||
placeholder: v0.0.1 | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
description: Which version did the problem appear on? | ||
placeholder: v0.0.1 | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: sql-type | ||
attributes: | ||
label: Which SQL? | ||
description: Which kind of SQL did the problem appear on? | ||
options: | ||
- MySQL | ||
- Flink | ||
- Spark | ||
- Hive | ||
- Postgre | ||
- Trino | ||
- Impala | ||
- Any Others | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: sql-type | ||
attributes: | ||
label: Which SQL? | ||
description: Which kind of SQL did the problem appear on? | ||
options: | ||
- MySQL | ||
- Flink | ||
- Spark | ||
- Hive | ||
- Postgre | ||
- Trino | ||
- Impala | ||
- Any Others | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: sql-content | ||
attributes: | ||
label: SQL content | ||
placeholder: SELECT * FROM table; | ||
description: Please provide the minimal SQL text that reproduces the problem. | ||
render: sql | ||
- type: textarea | ||
id: sql-content | ||
attributes: | ||
label: SQL content | ||
placeholder: SELECT * FROM table; | ||
description: Please provide the minimal SQL text that reproduces the problem. | ||
render: sql | ||
|
||
- type: textarea | ||
id: js-code | ||
attributes: | ||
label: JavaScript/TypeScript code | ||
description: Please provide the minimal demo code that reproduces the problem. | ||
render: typescript | ||
- type: textarea | ||
id: js-code | ||
attributes: | ||
label: JavaScript/TypeScript code | ||
description: Please provide the minimal demo code that reproduces the problem. | ||
render: typescript | ||
|
||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Also tell us, what did you expect to happen? | ||
placeholder: Tell us what you see! | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Also tell us, what did you expect to happen? | ||
placeholder: Tell us what you see! | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [main, next] | ||
pull_request: | ||
branches: [main, next] | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x, 20.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 9.7.0 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run prettier check | ||
run: pnpm prettier-check | ||
|
||
- name: Run tsc check | ||
run: pnpm check-types | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x, 20.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 9.7.0 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run Units Test | ||
run: pnpm test | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x, 20.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 9.7.0 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run Build | ||
run: pnpm build |
Oops, something went wrong.