diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 9467d360d5..a0301eba92 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -16,27 +16,30 @@ jobs: - name: Kirby setup uses: ./.github/actions/kirby-setup - - - name: Build storybook - run: npx nx affected -t build-storybook --base develop - - - name: Check affected libraries - id: affected - run: echo "AFFECTED_LIBS=$(npx nx show projects --affected --base develop --type lib)" >> $GITHUB_ENV - - - name: Publish Designsystem to Chromatic - if: contains(env.AFFECTED_LIBS, 'designsystem') - uses: chromaui/action@latest - with: - projectToken: ${{ secrets.DESIGNSYSTEM_CHROMATIC_PROJECT_TOKEN }} - workingDir: libs/designsystem - storybookBuildDir: ${{ github.workspace }}/dist/storybook/designsystem - - - name: Publish Extensions to Chromatic - if: contains(env.AFFECTED_LIBS, 'extensions-angular') - uses: chromaui/action@latest - with: - projectToken: ${{ secrets.EXTENSIONS_CHROMATIC_PROJECT_TOKEN }} - workingDir: libs/extensions/angular - storybookBuildDir: ${{ github.workspace }}/dist/storybook/extensions/angular + + - name: List branches + run: git branch -l + + # - name: Build storybook + # run: npx nx affected -t build-storybook --base develop + + # - name: Check affected libraries + # id: affected + # run: echo "AFFECTED_LIBS=$(npx nx show projects --affected --base develop --type lib)" >> $GITHUB_ENV + + # - name: Publish Designsystem to Chromatic + # if: contains(env.AFFECTED_LIBS, 'designsystem') + # uses: chromaui/action@latest + # with: + # projectToken: ${{ secrets.DESIGNSYSTEM_CHROMATIC_PROJECT_TOKEN }} + # workingDir: libs/designsystem + # storybookBuildDir: ${{ github.workspace }}/dist/storybook/designsystem + + # - name: Publish Extensions to Chromatic + # if: contains(env.AFFECTED_LIBS, 'extensions-angular') + # uses: chromaui/action@latest + # with: + # projectToken: ${{ secrets.EXTENSIONS_CHROMATIC_PROJECT_TOKEN }} + # workingDir: libs/extensions/angular + # storybookBuildDir: ${{ github.workspace }}/dist/storybook/extensions/angular