Skip to content

ci: local sb tests #289

ci: local sb tests

ci: local sb tests #289

name: PR Storybook Tests
on:
pull_request:
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Build Storybook Static
run: npm run build-storybook
- name: Run Storybook Tests Locally
uses: Eun/[email protected]
with:
directory: storybook-static
port: 7007
run: npm run test-storybook