-
Notifications
You must be signed in to change notification settings - Fork 38
51 lines (38 loc) · 1 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: ASF-ui-ci
on: [push, pull_request]
env:
NODE_JS_VERSION: 'lts/*'
permissions: {}
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/[email protected]
with:
show-progress: false
- name: Setup Node.js with npm
uses: actions/[email protected]
with:
check-latest: true
node-version: ${{ env.NODE_JS_VERSION }}
- name: Verify Node.js
run: node -v
- name: Verify npm
run: npm -v
- name: Install npm modules for ASF-ui
run: npm ci --no-progress
- name: Build ASF-ui
run: npm run-script deploy --no-progress
- name: Test ASF-ui dev environment
run: npm run-script serve:ci --no-progress
- name: Upload ASF-ui
uses: actions/[email protected]
with:
if-no-files-found: error
name: ${{ matrix.os }}_ASF-ui
path: dist