Skip to content

Commit cde4892

Browse files
authored
Merge pull request #674 from telerik/update-coffewarehouse-app
chore: deploy vite-coffee-warehouse
2 parents 23e8a9e + 442f4bc commit cde4892

File tree

5 files changed

+62
-43
lines changed

5 files changed

+62
-43
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Builds and tests example applications
1+
# Builds and tests examples-standalone applications
22
name: CI
33

44
on:
@@ -7,33 +7,51 @@ on:
77
- master
88

99
env:
10-
NODE_OPTIONS: --max_old_space_size=6144
10+
NODE_OPTIONS: --max_old_space_size=16384
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515

1616
steps:
17-
- name: Use NodeJS v14
18-
uses: actions/setup-node@v2
17+
- name: Use NodeJS v20
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: '14'
20+
node-version: '20'
2121

2222
- name: Check out repository
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424

25-
- name: Build Coffee warehouse app
26-
working-directory: ./examples-standalone/coffee-warehouse
27-
run: |
28-
npm ci
29-
npm run build
25+
- name: Get changed files
26+
uses: dorny/paths-filter@v2
27+
id: changes
28+
with:
29+
filters: |
30+
dashboard:
31+
- 'examples-standalone/dashboard/**'
32+
vite-coffee-warehouse:
33+
- 'examples-standalone/vite-coffee-warehouse/**'
34+
35+
# - name: Build Coffee warehouse app
36+
# working-directory: ./examples-standalone/coffee-warehouse
37+
# run: |
38+
# npm ci
39+
# npm run build
3040

3141
- name: Build Dashboard app
3242
working-directory: ./examples-standalone/dashboard
43+
if: steps.changes.outputs.dashboard == 'true'
3344
run: |
3445
npm ci
3546
npm run build
3647
48+
- name: Build Vite Coffee warehouse app
49+
working-directory: ./examples-standalone/vite-coffee-warehouse
50+
if: steps.changes.outputs.vite-coffee-warehouse == 'true'
51+
run: |
52+
npm ci
53+
npm run build
54+
3755
- name: Cleanup
3856
run: git clean -xdf
3957

examples-standalone/vite-coffee-warehouse/package-lock.json

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples-standalone/vite-coffee-warehouse/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "vite-kendo-vue-coffee-warehouse",
2+
"name": "vite-coffee-warehouse",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",

examples/bin/build-gh-pages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Builds example projects and deploys them to GH Pages
4-
STANDALONE_PROJECTS=(coffee-warehouse dashboard)
4+
STANDALONE_PROJECTS=(coffee-warehouse dashboard vite-coffee-warehouse)
55

66
set -e
77

examples/static/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ <h1>Kendo UI for Vue - Sample Applications</h1>
1313
<ul>
1414
<li><a href="coffee-warehouse/">Integrating Kendo UI for Vue with Progressive Web Applications (Material Design)</a></li>
1515
<li><a href="dashboard/">A demo project implementing the Grid, Chart, Drawer and other Kendo UI for Vue Native components</a></li>
16+
<li><a href="vite-coffee-warehouse/">Coffee Warehouse Dashboard Vite Application</a></li>
1617
</ul>
1718
<p>
1819
To access the source code of all sample applications, go to the

0 commit comments

Comments
 (0)