Skip to content

Update Preset Patterns, GH Workflows, and add Husky hooks #12

Update Preset Patterns, GH Workflows, and add Husky hooks

Update Preset Patterns, GH Workflows, and add Husky hooks #12

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
with:
bun-version: latest
- name: Install dependencies
run: bun install
- 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