Skip to content

Commit bbef60e

Browse files
committed
feat: add build:demo script and update deployment workflow to use it
1 parent b42511d commit bbef60e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: pnpm run build:lib
3333

3434
- name: Build demo application
35-
run: pnpm run build -- demo-ngx-theme-stack
35+
run: pnpm run build:demo
3636

3737
- name: Deploy to Cloudflare Pages
3838
uses: cloudflare/wrangler-action@v3

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"start:demo": "ng serve -o demo-ngx-theme-stack",
77
"build": "ng build",
88
"build:lib": "ng build ngx-theme-stack && cd projects/ngx-theme-stack/ && pnpm run build",
9+
"build:demo": "ng build demo-ngx-theme-stack",
910
"watch": "ng build --watch --configuration development",
1011
"test": "ng test",
1112
"lint": "ng lint",

0 commit comments

Comments
 (0)