Skip to content

Foundation

Foundation #43

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: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun i
- name: Install Playwright
run: bunx playwright install --with-deps
- name: Build Storybook
# https://github.com/storybookjs/storybook/issues/6408
run: NODE_OPTIONS=--max_old_space_size=8192 bun storybook:build --quiet
- name: Serve Storybook and run tests
run: bun test:ci