Skip to content

doc: search, scopes and suggestions #171

doc: search, scopes and suggestions

doc: search, scopes and suggestions #171

Workflow file for this run

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"