-
Notifications
You must be signed in to change notification settings - Fork 217
123 lines (100 loc) · 3.15 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# Builds and tests example applications
name: CI
on:
push:
branches-ignore:
- master
env:
NODE_OPTIONS: --max_old_space_size=6144
jobs:
general-examples:
runs-on: ubuntu-latest
steps:
- name: Use NodeJS v14
uses: actions/setup-node@v4
with:
node-version: "14"
- name: Check out repository
uses: actions/checkout@v4
- name: Build general examples
working-directory: ./examples
run: |
npm ci
npm run lint
npm run build-all
standalone-examples-node18:
runs-on: ubuntu-latest
steps:
- name: Use NodeJS v18
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Check out repository
uses: actions/checkout@v4
- name: Build Coffee warehouse app
working-directory: ./examples-standalone/coffee-warehouse
run: |
npm ci
npm run build
- name: Build Grid & Charts integration app
working-directory: ./examples-standalone/grid-charts-integration
run: |
npm ci
# npm run lint
standalone-examples-node14:
runs-on: ubuntu-latest
steps:
- name: Use NodeJS v14
uses: actions/setup-node@v4
with:
node-version: "14"
- name: Check out repository
uses: actions/checkout@v4
- name: Build Angular Universal Node example
working-directory: ./examples-standalone/angular-universal/node_sample_application
run: |
npm ci
npm run lint
- name: Build Angular Universal ASP.NET core example
working-directory: ./examples-standalone/angular-universal/aspnet_core_sample_application/ClientApp
run: |
npm ci
npm run lint
- name: Build ASP.NET Core Data client app
working-directory: ./examples-standalone/aspnetcore-data/ClientApp
run: |
npm ci
npm run lint
- name: Build ASP.NET Core Upload client app
working-directory: ./examples-standalone/aspnetcore-upload/ClientApp
run: |
npm ci
# npm run lint
- name: Build ASP.NET Web API client app
working-directory: ./examples-standalone/aspnetwebapi-data/ClientApp
run: |
npm ci
npm run lint
- name: Build Dialogflow app
working-directory: ./examples-standalone/dialogflow-integration/client
run: |
npm ci
npm run build
- name: Build Electron dashboard app
working-directory: ./examples-standalone/electron-dashboard
run: |
npm ci
npm rebuild node-sass
npm run build
- name: Build Finance portfolio app
working-directory: ./examples-standalone/finance-portfolio
run: |
npm ci
npm run build
- name: Build Grid Live Data app
working-directory: ./examples-standalone/grid-live-data
run: |
npm ci
npm run build
- name: Cleanup
run: git clean -xdf