Skip to content

use test-storybook script in ci #2

use test-storybook script in ci

use test-storybook script in ci #2

Workflow file for this run

# .github/workflows/storybook-tests.yml
name: 'Storybook Tests'
on: push
jobs:
test:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install dependencies
run: npm install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Serve Storybook and run tests
run: |
npm run test-storybook:ci