using npm run commands for building angular application (supports pre steps).

Automatically embed the application version in the UI.
This commit is contained in:
Jason Kulatunga
2022-05-26 22:37:45 -07:00
parent 5dbfad68ad
commit d93d24b52d
9 changed files with 45 additions and 6 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
npm install -g @angular/cli@9.1.4
npm install
mkdir -p dist
ng build --output-path=dist --deploy-url="/web/" --base-href="/web/" --prod
npm run build:prod -- --output-path=dist
tar -czf scrutiny-web-frontend.tar.gz dist
- name: Upload Frontend Asset
id: upload-release-asset3