-
Notifications
You must be signed in to change notification settings - Fork 39
121 lines (101 loc) · 2.92 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
# Builds and tests example 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
with:
fetch-depth: 0 # Fetch all branches
- name: Build Coffee warehouse nextjs app
working-directory: ./examples/coffee-warehouse-nextjs
run: |
npm ci
npm run build
- name: Build A Sales Dashboard app
working-directory: ./examples/kendo-react-build-a-sales-dashboard
run: |
npm ci
npm run build
- name: Build File Manager app
working-directory: ./examples/kendo-react-file-manager
run: |
npm ci
npm run build
# Conflicts with the peer dependencies
# - name: Build Finance Portfolio app
# working-directory: ./examples/kendo-react-finance-portfolio
# run: |
# npm i
# npm run build
- name: Build Homepage demo app
working-directory: ./examples/kendo-react-homepage-demo
run: |
npm ci
npm run build
- name: Build Marklogic app
working-directory: ./examples/kendo-react-marklogic-example
run: |
cd setup
npm i
cd ../server
npm i
cd ../ui
npm i
npm run build
- name: Build React Nextjs app
working-directory: ./examples/kendo-react-nextjs
run: |
npm ci
npm run build
- name: Build React Nodejs Express app
working-directory: ./examples/kendo-react-nodejs-express
run: |
cd server
npm i
cd ../client
npm i
npm run build
- name: Build React Sales Dashboard app
working-directory: ./examples/kendo-react-sales-dashboard
run: |
npm ci
CI= npm run build
# - name: Build React SSR app
# working-directory: ./examples/kendo-react-ssr
# run: |
# npm i
# npm run build
- name: Build React Stackblitz app
working-directory: ./examples/kendo-react-stackblitz-app
run: |
npm ci
npm run build
- name: Build React Admin Dashboard app
working-directory: ./examples/react-admin-dashboard
run: |
npm ci
npm run build
- name: Build React Coffee Warehouse app
working-directory: ./examples/react-coffee-warehouse
run: |
npm ci
npm run build
- name: Build React Grid Live Data app
working-directory: ./examples/react-grid-live-data
run: |
npm ci
npm run build
- name: Cleanup
run: git clean -xdf