Skip to content

Feature: Run postVisit on failures #825

Feature: Run postVisit on failures

Feature: Run postVisit on failures #825

name: Tests-extended
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run test runner (story store v7)
run: |
yarn build
yarn test-storybook:ci
- name: Run test runner (stories json mode)
run: |
yarn build
yarn test-storybook:ci-json