Skip to content

Commit

Permalink
storybook action updates
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Edgar <[email protected]>
  • Loading branch information
MikeEdgar committed Aug 28, 2024
1 parent ef7f4cf commit a0e7a1b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ jobs:
with:
fetch-depth: 0

- name: Install Dependencies
run: npm install
working-directory: ./ui

- name: Build Storybook
run: npm run build-storybook
working-directory: ./ui
run: |
npm ci
npx playwright install
npm run build-storybook
- name: Publish to Chromatic
id: chromatic
Expand All @@ -35,8 +34,7 @@ jobs:
workingDir: "./ui"
exitOnceUploaded: true

- name: Test the deployed Storybook
- name: Test Storybook
working-directory: ./ui
run: |
npx playwright install
npm run test-storybook -- --no-index-json --url ${{ steps.chromatic.outputs.storybookUrl }}
working-directory: ./ui

0 comments on commit a0e7a1b

Please sign in to comment.