From cef4691b5d25e38055a4c47b1ca112793cc0ae9f Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 29 Jun 2023 15:33:32 -0400 Subject: [PATCH] chore: remove angular dep for angular-server (#27720) Issue number: N/A --------- ## What is the current behavior? `@ionic/angular-server` has a dependency on `@ionic/core` not `@ionic/angular` (see https://github.com/ionic-team/ionic-framework/blob/1f06be4a31965f2a949b4866a585aee6af0af29d/packages/angular-server/package.json). As a result, once `@ionic/core` is built there is no reason for `@ionic/angular-server` to also wait for `@ionic/angular` to build before it can build. ## What is the new behavior? - `@ionic/angular-server` now waits for `@ionic/core` to build instead of `@ionic/angular` ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information Dev build sample run: https://github.com/ionic-team/ionic-framework/actions/runs/5414097033 --- .github/workflows/build.yml | 2 +- .github/workflows/release-ionic.yml | 8 +------- .github/workflows/stencil-nightly.yml | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bbe12728ea..fe8f9f2e2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -122,7 +122,7 @@ jobs: - uses: ./.github/workflows/actions/build-angular build-angular-server: - needs: [build-angular] + needs: [build-core] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/release-ionic.yml b/.github/workflows/release-ionic.yml index 43aedeebe4..f4d1b684d4 100644 --- a/.github/workflows/release-ionic.yml +++ b/.github/workflows/release-ionic.yml @@ -144,7 +144,7 @@ jobs: paths: packages/vue/dist packages/vue/css release-angular-server: - needs: [release-angular] + needs: [release-core] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -154,12 +154,6 @@ jobs: name: ionic-core path: ./core filename: CoreBuild.zip - - name: Restore @ionic/angular built cache - uses: ./.github/workflows/actions/download-archive - with: - name: ionic-angular - path: ./angular - filename: AngularBuild.zip - uses: ./.github/workflows/actions/publish-npm with: scope: '@ionic/angular-server' diff --git a/.github/workflows/stencil-nightly.yml b/.github/workflows/stencil-nightly.yml index 404cb22e5b..5c27bc09fe 100644 --- a/.github/workflows/stencil-nightly.yml +++ b/.github/workflows/stencil-nightly.yml @@ -133,7 +133,7 @@ jobs: - uses: ./.github/workflows/actions/build-angular build-angular-server: - needs: [build-angular] + needs: [build-core] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3