Skip to content

Commit

Permalink
chore: add sample apps to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bptodorova committed Jan 11, 2024
1 parent 08fd117 commit f36e34b
Showing 1 changed file with 120 additions and 0 deletions.
120 changes: 120 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# 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
- name: Build Finance Portfolio app
working-directory: ./examples/kendo-react-finance-portfolio
run: |
npm ci
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 ci
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

0 comments on commit f36e34b

Please sign in to comment.