Skip to content
Merged
Changes from 1 commit
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
22 changes: 11 additions & 11 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 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/test-runner -- \
# test-storybook --url http://localhost:50240 --config-dir ./storybook"
- name: Install Playwright dependencies
run: npx --no-install 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/test-runner@0.22.1 -- \
test-storybook --url http://localhost:50240 --config-dir ./storybook"
Loading