Skip to content

Commit e5f3f81

Browse files
boryanaTsilviyaboteva
authored andcommitted
chore(ci): build app to ci
1 parent 55c8818 commit e5f3f81

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

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

1616
steps:
1717
- name: Use NodeJS v18
@@ -115,12 +115,12 @@ jobs:
115115
npm ci
116116
npm run build
117117
118-
# Add a build step (npm run build)
119118
- name: Build Kendo React Freemium app
120119
working-directory: ./examples/kendo-react-freemium
121120
if: steps.changes.outputs.kendo-react-freemium == 'true'
122121
run: |
123122
npm ci
123+
npm run build
124124
125125
- name: Build Homepage demo app
126126
working-directory: ./examples/kendo-react-homepage-demo
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module "*.svg" {
2+
const content: string;
3+
export default content;
4+
}

examples/kendo-react-freemium/src/components/AppBarComponent.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ import { AppBar, AppBarSection, Avatar } from "@progress/kendo-react-layout";
55
import { Badge, BadgeContainer } from '@progress/kendo-react-indicators';
66
import { Popover } from '@progress/kendo-react-tooltip';
77
import { SvgIcon } from '@progress/kendo-react-common';
8-
// @ts-ignore
9-
import logo from '../assets/logo.svg';
10-
// @ts-ignore
8+
import logo from '../assets/logo-1.svg';
119
import compactLogo from '../assets/compact-logo.svg';
1210
import { bellIcon, logoutIcon, searchIcon, slidersIcon } from '@progress/kendo-svg-icons';
1311
import { useNavigate } from 'react-router-dom';

examples/kendo-react-freemium/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
"noUnusedParameters": true,
2121
"noFallthroughCasesInSwitch": true
2222
},
23-
"include": ["src"]
23+
"include": ["src", "src/components", "custom.d.ts"]
2424
}

0 commit comments

Comments
 (0)