Add maturity table to documentation #4223
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: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
concurrency: | |
group: | |
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "22.x" | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Install Playwright | |
run: pnpx playwright install --with-deps | |
- name: Build Storybook | |
run: pnpm run build-storybook --quiet | |
- name: Serve Storybook and run tests | |
run: | | |
pnpx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ | |
"pnpx http-server storybook-static --port 6006 --silent" \ | |
"pnpx wait-on tcp:6006 && pnpm run test-storybook" |