diff --git a/.github/workflows/on-publish.yml b/.github/workflows/on-publish.yml index dd5e240..1875341 100644 --- a/.github/workflows/on-publish.yml +++ b/.github/workflows/on-publish.yml @@ -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: diff --git a/.github/workflows/on-push-or-pull.yml b/.github/workflows/on-push-or-pull.yml index 7ec22de..714b798 100644 --- a/.github/workflows/on-push-or-pull.yml +++ b/.github/workflows/on-push-or-pull.yml @@ -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: diff --git a/angular.json b/angular.json index af5ad10..788ef17 100644 --- a/angular.json +++ b/angular.json @@ -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": {