doc: search, scopes and suggestions #184
Workflow file for this run
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
name: 'Storybook Tests' | |
on: push | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
- run: pnpm install --frozen-lockfile | |
- name: Install Playwright | |
run: pnpm exec playwright install | |
- name: Build Storybook | |
run: pnpm build-storybook -- --quiet | |
- name: Serve Storybook and run tests | |
run: | | |
pnpm dlx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ | |
"pnpm dlx http-server storybook-static --port 6006 --silent" \ | |
"pnpm dlx wait-on tcp:6006 && pnpm test-storybook" |