Skip to content

Commit 1cafa62

Browse files
committed
feat: Adds basic WebUI CI workflow
1 parent 549bf25 commit 1cafa62

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/webui.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: WebUI
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "tools/server/webui/**"
7+
branches:
8+
- master
9+
10+
jobs:
11+
check-and-build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: "22"
22+
cache: "npm"
23+
cache-dependency-path: "tools/server/webui/package-lock.json"
24+
25+
- name: Install dependencies
26+
run: npm ci
27+
working-directory: tools/server/webui
28+
29+
- name: Run type checking and linting
30+
run: npm run check
31+
working-directory: tools/server/webui
32+
33+
- name: Build application
34+
run: npm run build
35+
working-directory: tools/server/webui

0 commit comments

Comments
 (0)