-
Notifications
You must be signed in to change notification settings - Fork 39
167 lines (146 loc) · 5.3 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# Builds and tests sample applications
name: CI
on:
push:
branches-ignore:
- master
env:
NODE_OPTIONS: --max_old_space_size=6144
jobs:
build:
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: Get changed files
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
coffee-warehouse-nextjs:
- 'examples/coffee-warehouse-nextjs/**'
ecommerce-jewellery-store:
- 'examples/ecommerce-jewellery-store/**'
kendo-react-build-a-sales-dashboard:
- 'examples/kendo-react-build-a-sales-dashboard/**'
kendo-react-file-manager:
- 'examples/kendo-react-file-manager/**'
kendo-react-finance-portfolio:
- 'examples/kendo-react-finance-portfolio/**'
kendo-react-homepage-demo:
- 'examples/kendo-react-homepage-demo/**'
kendo-react-nextjs:
- 'examples/kendo-react-nextjs/**'
kendo-react-nodejs-express:
- 'examples/kendo-react-nodejs-express/**'
kendo-react-sales-dashboard:
- 'examples/kendo-react-sales-dashboard/**'
kendo-react-ssr:
- 'examples/kendo-react-ssr/**'
kendo-react-stackblitz-app:
- 'examples/kendo-react-stackblitz-app/**'
react-admin-dashboard:
- 'examples/react-admin-dashboard/**'
react-coffee-warehouse:
- 'examples/react-coffee-warehouse/**'
react-grid-live-data:
- 'examples/react-grid-live-data/**'
knowledge-base:
- 'docs/knowledge-base/examples/**'
- name: Build Coffee warehouse nextjs app
working-directory: ./examples/coffee-warehouse-nextjs
if: steps.changes.outputs.coffee-warehouse-nextjs == 'true'
run: |
npm ci
npm run build
- name: Build Ecommerce jewellery store vite app
working-directory: ./examples/ecommerce-jewellery-store
if: steps.changes.outputs.ecommerce-jewellery-store == 'true'
run: |
npm ci
npm run build
- name: Build A Sales Dashboard app
working-directory: ./examples/kendo-react-build-a-sales-dashboard
if: steps.changes.outputs.kendo-react-build-a-sales-dashboard == 'true'
run: |
npm ci
npm run build
- name: Build File Manager app
working-directory: ./examples/kendo-react-file-manager
if: steps.changes.outputs.kendo-react-file-manager == 'true'
run: |
npm ci
npm run build
- name: Build Finance Portfolio app
working-directory: ./examples/kendo-react-finance-portfolio
if: steps.changes.outputs.kendo-react-finance-portfolio == 'true'
run: |
npm ci
npm run build
- name: Build Homepage demo app
working-directory: ./examples/kendo-react-homepage-demo
if: steps.changes.outputs.kendo-react-homepage-demo == 'true'
run: |
npm ci
npm run build
- name: Build React Nextjs app
working-directory: ./examples/kendo-react-nextjs
if: steps.changes.outputs.kendo-react-nextjs == 'true'
run: |
npm ci
npm run build
- name: Build React Nodejs Express app
working-directory: ./examples/kendo-react-nodejs-express
if: steps.changes.outputs.kendo-react-nodejs-express == 'true'
run: |
cd server
npm ci
cd ../client
npm ci
npm run build
- name: Build React Sales Dashboard app
working-directory: ./examples/kendo-react-sales-dashboard
if: steps.changes.outputs.kendo-react-sales-dashboard == 'true'
run: |
npm ci
npm run build
- name: Build React SSR app
working-directory: ./examples/kendo-react-ssr
if: steps.changes.outputs.kendo-react-ssr == 'true'
run: |
npm ci
npm run build
- name: Build React Stackblitz app
working-directory: ./examples/kendo-react-stackblitz-app
if: steps.changes.outputs.kendo-react-stackblitz-app == 'true'
run: |
npm ci
npm run build
- name: Build React Admin Dashboard app
working-directory: ./examples/react-admin-dashboard
if: steps.changes.outputs.react-admin-dashboard == 'true'
run: |
npm ci
npm run build
- name: Build React Coffee Warehouse app
working-directory: ./examples/react-coffee-warehouse
if: steps.changes.outputs.react-coffee-warehouse == 'true'
run: |
npm ci
npm run build
- name: Build React Grid Live Data app
working-directory: ./examples/react-grid-live-data
if: steps.changes.outputs.react-grid-live-data == 'true'
run: |
npm ci
npm run build
- name: Build Knowledge Base Vite app
working-directory: ./docs/knowledge-base
if: steps.changes.outputs.knowledge-base == 'true'
run: |
npm ci
npm run build