Skip to content

Foundation

Foundation #26

Workflow file for this run

name: Test 🧪
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: Run Storybook tests 🃏
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: yarn
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build Storybook
# https://github.com/storybookjs/storybook/issues/6408
run: NODE_OPTIONS=--max_old_space_size=8192 yarn storybook:build --quiet
- name: Serve Storybook and run tests
run: yarn test:ci