Skip to content

Commit ec8aba4

Browse files
committed
Add CI for vmm-ui
1 parent c122dd6 commit ec8aba4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/vmm-ui.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# SPDX-FileCopyrightText: © 2024-2025 Phala Network <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
name: VMM UI build
6+
7+
on:
8+
push:
9+
branches: [ master, next, dev-* ]
10+
pull_request:
11+
branches: [ master, next, dev-* ]
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Install Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '20'
23+
24+
- name: Build vmm UI
25+
run: |
26+
npm ci
27+
npm run build
28+
working-directory: vmm/ui
29+
30+
- name: Ensure vmm UI build is clean
31+
run: |
32+
test -z "$(git status --porcelain)"

0 commit comments

Comments
 (0)