From d29ec85b196a58d1ae9d7f8827f049dd672e25b2 Mon Sep 17 00:00:00 2001 From: Marco Carrozzo Date: Tue, 20 Dec 2022 17:03:47 +0100 Subject: [PATCH] [AAE-11822] fix demoshell and gh act. release * fixed release * remove demoshell build from job:build --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b64d28ee2..b69add0df6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,29 @@ env: NODE_OPTIONS: "--max-old-space-size=5120" jobs: + build: + timeout-minutes: 20 + if: github.event.pull_request.merged == true + name: "Build Components" + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: ./.github/actions/setup + - run: npm -v + - name: install + run: | + npm ci + nx run cli:bundle + nx run testing:bundle + - run: npx nx affected --target=lint $NX_CALCULATION_FLAGS + - run: nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell" + - uses: ./.github/actions/upload-build-artifacts + release-demoshell: + needs: [release-npm] timeout-minutes: 15 if: github.event.pull_request.merged == true runs-on: ubuntu-22.04 @@ -79,6 +101,7 @@ jobs: ./scripts/travis/release/release-demoshell-docker.sh release-storybook: + needs: [release-npm] timeout-minutes: 15 if: github.event.pull_request.merged == true runs-on: ubuntu-22.04 @@ -101,7 +124,8 @@ jobs: echo $TAGS ./scripts/travis/release/release-storybook-docker.sh - npm-release: + release-npm: + needs: [build] timeout-minutes: 15 if: github.event.pull_request.merged == true runs-on: ubuntu-22.04 @@ -127,7 +151,7 @@ jobs: run: ./scripts/travis/release/release-npm.sh npm-check-bundle: - needs: [npm-release] + needs: [release-npm] timeout-minutes: 15 if: github.event.pull_request.merged == true runs-on: ubuntu-22.04