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: |
|
||||
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:
|
||||
|
||||
3
.github/workflows/on-push-or-pull.yml
vendored
3
.github/workflows/on-push-or-pull.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user