### _Why are the changes needed?_ For code review and check pr, we need Github CI help check web ui. Run `npm run coverage && npm run build-check` to find syntax issues and build errors. Actions used node from https://github.com/marketplace/actions/setup-node-js-environment Close #3335 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3340 from zwangsheng/feature/web_ci. Closes #3340 037953b7 [zwangsheng] fix symble | 07f6dc09 [zwangsheng] use npm install pnpm c643333e [zwangsheng] use pnpm instead a57bc311 [zwangsheng] install f2a94ca2 [zwangsheng] fix runner 1d85336d [zwangsheng] fix runner 7c5c58c2 [zwangsheng] fix runner adb94e46 [zwangsheng] fix 33359d99 [zwangsheng] fix 95a34cbb [zwangsheng] fix 7d3207a9 [zwangsheng] add ci Authored-by: zwangsheng <2213335496@qq.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
35 lines
647 B
YAML
35 lines
647 B
YAML
name: Web UI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- branch-*
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- branch-*
|
|
|
|
concurrency:
|
|
group: web-ui-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
web-ui:
|
|
name: Kyuubi Web UI check
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
- name: setup npm
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
- name: npm run coverage & build
|
|
run: |
|
|
cd ./kyuubi-server/web-ui
|
|
npm install pnpm -g
|
|
pnpm install
|
|
pnpm run coverage
|
|
pnpm run build
|