Foundation #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: bun i | |
- 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 bun storybook:build --quiet | |
- name: Serve Storybook and run tests | |
run: bun test:ci |