fix(ci): fix build commands

This commit is contained in:
SvetlanaMuravlova
2022-09-16 14:45:38 +03:00
parent ec3b1e6c3e
commit edf7b1d7c5
3 changed files with 4 additions and 6 deletions

View File

@@ -50,8 +50,7 @@ jobs:
path: |
dist
key: dist-${{ github.run_id }}
- run: npx ng build --prod
npx nx run ng2-file-upload:build
- run: npx nx run ng2-file-upload-demo:build
# update release notes in github
update_release_draft:

View File

@@ -59,8 +59,7 @@ jobs:
with:
path: ${{ env.CACHE_DIST_PATH }}
key: dist-${{ github.run_id }}
- run: npx ng build --prod
npx nx run ng2-file-upload:build
- run: npx nx run ng2-file-upload-demo:build
# run unit tests
unit_tests_with_coverage:

View File

@@ -114,12 +114,12 @@
]
}
},
"defaultConfiguration": ""
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ng2-file-upload-demo:build"
"browserTarget": "ng2-file-upload-demo:build:production"
},
"configurations": {
"production": {