From 612d5bb534de14d3c22f40245c74a6c31bd02e0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Choi=C5=84ski?= Date: Sat, 27 Jan 2024 00:35:06 +0100 Subject: [PATCH] ci: update prod commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Grzegorz ChoiƄski --- .github/workflows/build.yml | 2 +- Foodie/ClientApp/package.json | 2 ++ Foodie/Foodie.csproj | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a511ee5..10d0c48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,4 +38,4 @@ jobs: run: npm install - name: Run build command - run: npm run build + run: npm run build-prod diff --git a/Foodie/ClientApp/package.json b/Foodie/ClientApp/package.json index 6b6cae1..3e033ff 100644 --- a/Foodie/ClientApp/package.json +++ b/Foodie/ClientApp/package.json @@ -5,7 +5,9 @@ "ng": "ng", "start": "ng serve", "build": "ng build", + "build-prod": "ng build --configuration production", "build:ssr": "ng run Foodie:server:dev", + "build-prod:ssr": "ng run Foodie:server:production", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", diff --git a/Foodie/Foodie.csproj b/Foodie/Foodie.csproj index 300fdad..d885613 100644 --- a/Foodie/Foodie.csproj +++ b/Foodie/Foodie.csproj @@ -47,8 +47,8 @@ - - + +