Skip to content

Commit 34ac1df

Browse files
committed
Update main_build-angular.yml
1 parent 8ebc63e commit 34ac1df

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/main_build-angular.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,25 @@ on:
1313
jobs:
1414
build_angular:
1515
runs-on: ubuntu-latest
16-
env:
17-
TELERIK_LICENSE: ${{secrets.TELERIK_LICENSE_KEY}}
1816

1917
steps:
2018
- name: Checkout
2119
uses: actions/checkout@v4
2220

2321
- name: Install NPM modules
2422
working-directory: src/Kendo/angular_demo
25-
run: npm install
26-
27-
- name: Activate Kendo UI License
28-
working-directory: src/Kendo/angular_demo
29-
run: npx kendo-ui-license activate
23+
run: |
24+
# 1. Clean the angular cache, to avoid using any expired keys
25+
rm -rf .angular/cache
3026
31-
- name: Build
32-
working-directory: src/Kendo/angular_demo
33-
run: npm run build --prod
27+
# 2. Install your project dependencies
28+
npm install
29+
# npm install --save @progress/kendo-licensing; # if missing from package.json
30+
31+
#3. Activate
32+
npx kendo-ui-license activate
33+
34+
#4. Build the project
35+
npm run build --prod
36+
env:
37+
TELERIK_LICENSE: ${{secrets.TELERIK_LICENSE_KEY}}

0 commit comments

Comments
 (0)