add pages #737
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/**' | |
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 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 |