Skip to content

Commit ce8365f

Browse files
committed
chore(ci): replace clean install step on apps that are not deployed
1 parent 6cb91ae commit ce8365f

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Check out repository
2323
uses: actions/checkout@v4
2424

25-
- name: Get changed files
25+
- name: Get changed files
2626
uses: dorny/paths-filter@v2
2727
id: changes
2828
with:
@@ -34,7 +34,7 @@ jobs:
3434
kendo-react-build-a-sales-dashboard:
3535
- 'examples/kendo-react-build-a-sales-dashboard/**'
3636
kendo-react-e-commerce-astro-app:
37-
- 'examples/kendo-react-e-commerce-astro-app/**'
37+
- 'examples/kendo-react-e-commerce-astro-app/**'
3838
kendo-react-file-manager:
3939
- 'examples/kendo-react-file-manager/**'
4040
kendo-react-finance-portfolio:
@@ -64,7 +64,7 @@ jobs:
6464
working-directory: ./examples/coffee-warehouse-nextjs
6565
if: steps.changes.outputs.coffee-warehouse-nextjs == 'true'
6666
run: |
67-
npm ci
67+
npm i
6868
npm run build
6969
7070
- name: Build Ecommerce jewellery store vite app
@@ -85,7 +85,7 @@ jobs:
8585
working-directory: ./examples/kendo-react-build-a-sales-dashboard
8686
if: steps.changes.outputs.kendo-react-build-a-sales-dashboard == 'true'
8787
run: |
88-
npm ci
88+
npm i
8989
npm run build
9090
9191
- name: Build File Manager app
@@ -113,46 +113,46 @@ jobs:
113113
working-directory: ./examples/kendo-react-nextjs
114114
if: steps.changes.outputs.kendo-react-nextjs == 'true'
115115
run: |
116-
npm ci
117-
npm run build
116+
npm i
117+
npm run build
118118
119119
- name: Build React Nodejs Express app
120120
working-directory: ./examples/kendo-react-nodejs-express
121121
if: steps.changes.outputs.kendo-react-nodejs-express == 'true'
122122
run: |
123123
cd server
124-
npm ci
125-
cd ../client
126-
npm ci
124+
npm i
125+
cd ../client
126+
npm i
127127
npm run build
128128
129129
- name: Build React Sales Dashboard app
130130
working-directory: ./examples/kendo-react-sales-dashboard
131131
if: steps.changes.outputs.kendo-react-sales-dashboard == 'true'
132132
run: |
133-
npm ci
134-
npm run build
133+
npm i
134+
npm run build
135135
136136
- name: Build React SSR app
137137
working-directory: ./examples/kendo-react-ssr
138138
if: steps.changes.outputs.kendo-react-ssr == 'true'
139139
run: |
140-
npm ci
141-
npm run build
140+
npm i
141+
npm run build
142142
143143
- name: Build React Stackblitz app
144144
working-directory: ./examples/kendo-react-stackblitz-app
145145
if: steps.changes.outputs.kendo-react-stackblitz-app == 'true'
146146
run: |
147-
npm ci
148-
npm run build
147+
npm i
148+
npm run build
149149
150150
- name: Build React Admin Dashboard app
151151
working-directory: ./examples/react-admin-dashboard
152152
if: steps.changes.outputs.react-admin-dashboard == 'true'
153153
run: |
154154
npm ci
155-
npm run build
155+
npm run build
156156
157157
- name: Build React Coffee Warehouse app
158158
working-directory: ./examples/react-coffee-warehouse
@@ -167,7 +167,7 @@ jobs:
167167
run: |
168168
npm ci
169169
npm run build
170-
170+
171171
- name: Build Knowledge Base Vite app
172172
working-directory: ./docs/knowledge-base
173173
if: steps.changes.outputs.knowledge-base == 'true'

0 commit comments

Comments
 (0)