Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/storybook-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
- name: Build Storybook
run: npm run storybook:build

- name: Install Playwright dependencies
run: npx --no playwright install --with-deps
- name: Install test-runner and Playwright dependencies
run: |
npm install --no-save @storybook/[email protected]
npx playwright install --with-deps

- 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 && \
NODE_PATH=./node_modules \
npx --package=@storybook/[email protected] -- \
test-storybook --url http://localhost:50240 --config-dir ./storybook"
npx test-storybook --url http://localhost:50240 --config-dir ./storybook"
Loading