Skip to content

Commit fb9fdb6

Browse files
committed
devops(ui): Release UI
1 parent af000bd commit fb9fdb6

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/node.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [10.x, 12.x, 14.x, 15.x]
16+
node-version: [16.x, 18.x]
1717

1818
steps:
1919
- uses: actions/checkout@v3
@@ -24,5 +24,6 @@ jobs:
2424

2525
- run: |
2626
cd ui
27+
yarn install
2728
yarn test --passWithNoTests
2829
yarn build

.github/workflows/release.yml

+14
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ jobs:
3636
# You may pin to the exact commit or the version.
3737
run: |
3838
make package
39+
40+
- name: Setup node
41+
uses: actions/setup-node@v3
42+
with:
43+
node-version: 18
44+
45+
- name: Build UI
46+
run: |
47+
cd ui
48+
yarn install
49+
yarn build
50+
zip -r ui-dist.zip dist
51+
cp flydav-ui-dist.zip ../dist
52+
3953
- name: Create Tag
4054
uses: negz/create-tag@v1
4155
with:

0 commit comments

Comments
 (0)