Skip to content

Commit

Permalink
chore: deploy vite-coffee-warehouse
Browse files Browse the repository at this point in the history
  • Loading branch information
bptodorova committed Feb 26, 2025
1 parent 1e71a3f commit e8806d0
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 43 deletions.
43 changes: 31 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Builds and tests example applications
# Builds and tests examples-standalone applications
name: CI

on:
Expand All @@ -7,33 +7,52 @@ on:
- master

env:
NODE_OPTIONS: --max_old_space_size=6144
NODE_OPTIONS: --max_old_space_size=16384

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Use NodeJS v14
uses: actions/setup-node@v2
- name: Use NodeJS v20
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '20'

- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build Coffee warehouse app
working-directory: ./examples-standalone/coffee-warehouse
run: |
npm ci
npm run build
- name: Get changed files
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
dashboard:
- 'examples-standalone/dashboard/**'
vite-coffe-warehouse:
- 'examples-standalone/vite-coffee-warehouse/**'
# This is commented out because the coffee-warehouse app cannot build on Node 20
# - name: Build Coffee warehouse app
# working-directory: ./examples-standalone/coffee-warehouse
# run: |
# npm ci
# npm run build

- name: Build Dashboard app
working-directory: ./examples-standalone/dashboard
if: steps.changes.outputs.dashboard == 'true'
run: |
npm ci
npm run build
- name: Build Vite Coffee warehouse app
working-directory: ./examples-standalone/vite-coffee-warehouse
if: steps.changes.outputs.vite-coffee-warehouse == 'true'
run: |
npm ci
npm run build
- name: Cleanup
run: git clean -xdf

58 changes: 29 additions & 29 deletions examples-standalone/vite-coffee-warehouse/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples-standalone/vite-coffee-warehouse/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vite-kendo-vue-coffee-warehouse",
"name": "vite-coffee-warehouse",
"private": true,
"version": "0.0.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/bin/build-gh-pages
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

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

set -e

Expand Down
1 change: 1 addition & 0 deletions examples/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h1>Kendo UI for Vue - Sample Applications</h1>
<ul>
<li><a href="coffee-warehouse/">Integrating Kendo UI for Vue with Progressive Web Applications (Material Design)</a></li>
<li><a href="dashboard/">A demo project implementing the Grid, Chart, Drawer and other Kendo UI for Vue Native components</a></li>
<li><a href="vite-coffee-warehouse/">Coffee Warehouse Dashboard Vite Application</a></li>
</ul>
<p>
To access the source code of all sample applications, go to the
Expand Down

0 comments on commit e8806d0

Please sign in to comment.