-
Notifications
You must be signed in to change notification settings - Fork 86
40 lines (32 loc) · 1004 Bytes
/
Copy pathmain_build-angular.yml
File metadata and controls
40 lines (32 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Angular
on:
workflow_dispatch:
push:
branches:
- main
- "angular/*"
paths:
- 'src/Kendo/angular_demo/**/*'
- '.github/workflows/main_build-angular.yml'
jobs:
build_angular:
name: "🏗️ Build Angular app"
runs-on: ubuntu-latest
steps:
- name: "⬇️ Checkout"
uses: actions/checkout@v7
- name: "🏗️ Build App"
working-directory: src/Kendo/angular_demo
run: |
# 1. Clean the angular cache, to avoid using any expired keys
rm -rf .angular/cache
# 2. Install your project dependencies
npm install
# Note, if you do not have @progress/kendo-licensing in your package.json, you can install it with the following command:
# npm install --save @progress/kendo-licensing;
#3. Activate
npx kendo-ui-license activate
#4. Build the project
npm run build --prod
env:
TELERIK_LICENSE: ${{secrets.TELERIK_LICENSE_KEY}}