Skip to content

Merge branch 'main' of https://github.com/SWRdata/components #393

Merge branch 'main' of https://github.com/SWRdata/components

Merge branch 'main' of https://github.com/SWRdata/components #393

name: 'Run Storybook Tests'
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
run-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./components
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run sync
- run: npm run test-storybook:ci