From 9a1108ae0a792273f5f048701b38dba2134a43fb Mon Sep 17 00:00:00 2001 From: RasmusKjeldgaard Date: Thu, 6 Jun 2024 22:16:39 +0200 Subject: [PATCH] Test action path --- .github/workflows/chromatic.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index ce13b7d8b9..b142435832 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -20,17 +20,20 @@ jobs: - name: Build storybook run: npx nx run-many -t build-storybook + - name: Verify build output + run: ls -al dist/storybook/designsystem + - name: Publish Designsystem to Chromatic uses: chromaui/action@latest with: projectToken: ${{ secrets.DESIGNSYSTEM_CHROMATIC_PROJECT_TOKEN }} workingDir: libs/designsystem - storybookBuildDir: dist/storybook/designsystem + storybookBuildDir: ${{ github.action_path }}/dist/storybook/designsystem - name: Publish Extensions to Chromatic uses: chromaui/action@latest with: projectToken: ${{ secrets.EXTENSIONS_CHROMATIC_PROJECT_TOKEN }} workingDir: libs/extensions/angular - storybookBuildDir: dist/storybook/extensions/angular + storybookBuildDir: ${{ github.action_path }}/dist/storybook/extensions/angular