diff --git a/.github/workflows/03-deploy-gh-pages.yml b/.github/workflows/03-deploy-gh-pages.yml index c4614f84ec5..2d00fd6786f 100644 --- a/.github/workflows/03-deploy-gh-pages.yml +++ b/.github/workflows/03-deploy-gh-pages.yml @@ -47,10 +47,38 @@ jobs: name: db-ux-patternhub path: build-showcases/patternhub + - name: ⏬ Download composition-storybook + uses: actions/download-artifact@v5 + with: + name: db-ux-composition-storybook + path: build-storybooks/composition-storybook + + - name: ⏬ Download angular-storybook + uses: actions/download-artifact@v5 + with: + name: db-ux-angular-storybook + path: build-storybooks/angular-storybook + + - name: ⏬ Download react-storybook + uses: actions/download-artifact@v5 + with: + name: db-ux-react-storybook + path: build-storybooks/react-storybook + + - name: ⏬ Download vue-storybook + uses: actions/download-artifact@v5 + with: + name: db-ux-vue-storybook + path: build-storybooks/vue-storybook + - name: 🦵🦿 I like to move it move it shell: bash run: | mv build-showcases/patternhub out + mv build-storybooks/composition-storybook out/composition-storybook + mv build-storybooks/angular-storybook out/angular-storybook + mv build-storybooks/react-storybook out/react-storybook + mv build-storybooks/vue-storybook out/vue-storybook - name: 🔨 Build page env: diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 07af7406e81..bceb9db784a 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -78,34 +78,33 @@ jobs: needs: [build-packages, init] with: version: ${{ needs.init.outputs.playwrightVersion }} - - #build-storybook-composition: - # uses: ./.github/workflows/01-build-storybooks.yml - # needs: [build-packages, init] - # with: - # storybook: composition-storybook - # baseUrl: ${{ needs.init.outputs.baseUrl }} - - #build-storybook-angular: - # uses: ./.github/workflows/01-build-storybooks.yml - # needs: [build-packages, init] - # with: - # storybook: angular-storybook - # baseUrl: ${{ needs.init.outputs.baseUrl }} - - #build-storybook-react: - # uses: ./.github/workflows/01-build-storybooks.yml - # needs: [build-packages, init] - # with: - # storybook: react-storybook - # baseUrl: ${{ needs.init.outputs.baseUrl }} - - #build-storybook-vue: - # uses: ./.github/workflows/01-build-storybooks.yml - # needs: [build-packages, init] - # with: - # storybook: vue-storybook - # baseUrl: ${{ needs.init.outputs.baseUrl }} + build-storybook-composition: + uses: ./.github/workflows/01-build-storybooks.yml + needs: [build-packages, init] + with: + storybook: composition-storybook + baseUrl: ${{ needs.init.outputs.baseUrl }} + + build-storybook-angular: + uses: ./.github/workflows/01-build-storybooks.yml + needs: [build-packages, init] + with: + storybook: angular-storybook + baseUrl: ${{ needs.init.outputs.baseUrl }} + + build-storybook-react: + uses: ./.github/workflows/01-build-storybooks.yml + needs: [build-packages, init] + with: + storybook: react-storybook + baseUrl: ${{ needs.init.outputs.baseUrl }} + + build-storybook-vue: + uses: ./.github/workflows/01-build-storybooks.yml + needs: [build-packages, init] + with: + storybook: vue-storybook + baseUrl: ${{ needs.init.outputs.baseUrl }} build-showcase-stencil: uses: ./.github/workflows/01-build-showcases.yml @@ -335,6 +334,10 @@ jobs: steps: - name: 🎉 Checks done run: | + resultBuildStorybookComposition="${{ needs.build-storybook-composition.result }}" + resultBuildStorybookAngular="${{ needs.build-storybook-angular.result }}" + resultBuildStorybookReact="${{ needs.build-storybook-react.result }}" + resultBuildStorybookVue="${{ needs.build-storybook-vue.result }}" resultBuildShowcaseStencil="${{ needs.build-showcase-stencil.result }}" resultBuildShowcaseAngular="${{ needs.build-showcase-angular.result }}" resultBuildShowcaseAngularSSR="${{ needs.build-showcase-angular-ssr.result }}" @@ -381,6 +384,10 @@ jobs: fi needs: [ + build-storybook-composition, + build-storybook-angular, + build-storybook-react, + build-storybook-vue, build-showcase-stencil, build-showcase-angular, build-showcase-angular-ssr, diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 33ffd2043f1..d6a8e6cb3eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,33 +47,33 @@ jobs: with: version: ${{ needs.init.outputs.playwrightVersion }} - # build-storybook-composition: - # uses: ./.github/workflows/01-build-storybooks.yml - # needs: [build-packages, init] - # with: - # storybook: storybook - # baseUrl: ${{ needs.init.outputs.baseUrl }} + build-storybook-composition: + uses: ./.github/workflows/01-build-storybooks.yml + needs: [build-packages, init] + with: + storybook: storybook + baseUrl: ${{ needs.init.outputs.baseUrl }} - # build-storybook-angular: - # uses: ./.github/workflows/01-build-storybooks.yml - # needs: [build-packages, init] - # with: - # storybook: angular-storybook - # baseUrl: ${{ needs.init.outputs.baseUrl }} + build-storybook-angular: + uses: ./.github/workflows/01-build-storybooks.yml + needs: [build-packages, init] + with: + storybook: angular-storybook + baseUrl: ${{ needs.init.outputs.baseUrl }} - # build-storybook-react: - # uses: ./.github/workflows/01-build-storybooks.yml - # needs: [build-packages, init] - # with: - # storybook: react-storybook - # baseUrl: ${{ needs.init.outputs.baseUrl }} + build-storybook-react: + uses: ./.github/workflows/01-build-storybooks.yml + needs: [build-packages, init] + with: + storybook: react-storybook + baseUrl: ${{ needs.init.outputs.baseUrl }} - # build-storybook-vue: - # uses: ./.github/workflows/01-build-storybooks.yml - # needs: [build-packages, init] - # with: - # storybook: vue-storybook - # baseUrl: ${{ needs.init.outputs.baseUrl }} + build-storybook-vue: + uses: ./.github/workflows/01-build-storybooks.yml + needs: [build-packages, init] + with: + storybook: vue-storybook + baseUrl: ${{ needs.init.outputs.baseUrl }} build-showcase-stencil: uses: ./.github/workflows/01-build-showcases.yml @@ -178,6 +178,10 @@ jobs: steps: - name: 🎉 Checks done run: | + resultBuildStorybookComposition="${{ needs.build-storybook-composition.result }}" + resultBuildStorybookAngular="${{ needs.build-storybook-angular.result }}" + resultBuildStorybookReact="${{ needs.build-storybook-react.result }}" + resultBuildStorybookVue="${{ needs.build-storybook-vue.result }}" resultBuildShowcaseStencil="${{ needs.build-showcase-stencil.result }}" resultBuildShowcaseAngular="${{ needs.build-showcase-angular.result }}" resultBuildShowcaseAngularSSR="${{ needs.build-showcase-angular-ssr.result }}" @@ -224,6 +228,10 @@ jobs: fi needs: [ + build-storybook-composition, + build-storybook-angular, + build-storybook-react, + build-storybook-vue, build-showcase-stencil, build-showcase-angular, build-showcase-angular-ssr,