fix(ci): fix build commands
This commit is contained in:
3
.github/workflows/on-publish.yml
vendored
3
.github/workflows/on-publish.yml
vendored
@@ -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:
|
||||||
|
|||||||
3
.github/workflows/on-push-or-pull.yml
vendored
3
.github/workflows/on-push-or-pull.yml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user