Skip to content

chore(deps-dev): bump the dev-dependencies group across 1 directory with 40 updates #3084

chore(deps-dev): bump the dev-dependencies group across 1 directory with 40 updates

chore(deps-dev): bump the dev-dependencies group across 1 directory with 40 updates #3084

name: Storybook tests
on:
pull_request:
branches:
- master
jobs:
storybook-tests:
name: Storybook tests
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build Storybook
run: yarn build-storybook
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook"