-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" |