Skip to content

Commit

Permalink
Update ui-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ReihaneB committed Feb 20, 2024
1 parent 551ef53 commit 85923fc
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ui-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: UI checks - Storybook Interactions, Accessibility, Imageshots
name: UI checks - Storybook Interactions and Accessibility, Imageshots

on: push

Expand All @@ -22,8 +22,14 @@ jobs:
- name: 🏗️ Build Storybook
run: npm run story:build --quiet

- name: 💫 Serve Storybook and run tests
- name: 💫 Serve Storybook
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on http://127.0.0.1:6006 && npm run test:story && npm run test:ui"
"npx wait-on http://127.0.0.1:6006"
- name: 📚 Run Interactions and Accessibility
run: npm run test:story

- name: 📸 Run Imageshots
run: npm run test:ui

0 comments on commit 85923fc

Please sign in to comment.