Skip to content

Commit

Permalink
ci: local sb tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezhik Kyzyl-ool committed Apr 23, 2024
1 parent 63c3bd0 commit 641654a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pr-storybook-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ jobs:
run: npx playwright install --with-deps
- name: Build Storybook Static
run: npm run build-storybook
- name: Serve Storybook Static
uses: Eun/[email protected]
with:
directory: storybook-static
port: 7007
- name: Run Storybook Tests
run: npm run test-storybook
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 7007 --silent" \
"npx wait-on tcp:6006 && npm run test-storybook"

0 comments on commit 641654a

Please sign in to comment.