Skip to content

Commit 367fa23

Browse files
committed
Dashboard Improvements
1 parent 2825e3a commit 367fa23

10 files changed

Lines changed: 843 additions & 34 deletions

File tree

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
19+
name: SQL Lab Frontend CI
20+
21+
on:
22+
push:
23+
paths:
24+
- 'exec/java-exec/src/main/resources/webapp/**'
25+
pull_request:
26+
paths:
27+
- 'exec/java-exec/src/main/resources/webapp/**'
28+
29+
defaults:
30+
run:
31+
working-directory: exec/java-exec/src/main/resources/webapp
32+
33+
jobs:
34+
build-and-test:
35+
name: Build & Test
36+
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
node-version: [20]
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v4
43+
44+
- name: Setup Node.js ${{ matrix.node-version }}
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version: ${{ matrix.node-version }}
48+
cache: 'npm'
49+
cache-dependency-path: exec/java-exec/src/main/resources/webapp/package-lock.json
50+
51+
- name: Install dependencies
52+
run: npm ci
53+
54+
- name: TypeScript type check
55+
run: npx tsc --noEmit
56+
57+
- name: Lint
58+
run: npm run lint
59+
60+
- name: Run tests
61+
run: npx vitest run --passWithNoTests
62+
63+
- name: Build
64+
run: npm run build

0 commit comments

Comments
 (0)