diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c567fd865b..d946ce5074 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,7 +97,7 @@ jobs: enable-node-modules-cache: false - name: install run: | - npm ci + npm ci npx nx run cli:bundle npx nx run testing:bundle - uses: ./.github/actions/upload-node-modules-and-artifacts @@ -222,3 +222,19 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - uses: ./.github/actions/npm-check-bundle + + finalize: + if: always() + runs-on: ubuntu-latest + name: Final Results + needs: [release-demoshell, release-storybook, release-npm, npm-check-bundle] + steps: + + - uses: slackapi/slack-github-action@v1.23.0 + name: Nofify FE hxp-front-end-apps workflow failed + if: ${{ contains(toJson(needs.*.result), 'failure') }} + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + with: + channel-id: 'C04N93XU491' #hxp-front-end-apps + slack-message: "🔴 Warning: The release workflow of alfresco-ng2-components pipe failed\n Author: name:${{ github.event.pusher.name }}\n Workflow run : \n>"