Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/storybook-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,8 @@ jobs:
NODE_ENV: test
run: npm run storybook:e2e:build

- name: Install test-runner and Playwright dependencies
run: |
npm install --no-save @storybook/test-runner@0.24.2
npx playwright install --with-deps
- name: Install Playwright browsers
run: npm run --workspace @wordpress/storybook test:smoke:setup

- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server ./storybook/build --port 50240 --silent" \
"npx wait-on tcp:127.0.0.1:50240 && \
npx test-storybook --url http://localhost:50240 --config-dir ./storybook"
run: npm run --workspace @wordpress/storybook test:smoke
Loading
Loading