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: | path: |
dist dist
key: dist-${{ github.run_id }} key: dist-${{ github.run_id }}
- run: npx ng build --prod - run: npx nx run ng2-file-upload-demo:build
npx nx run ng2-file-upload:build
# update release notes in github # update release notes in github
update_release_draft: update_release_draft:

View File

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

View File

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