Add Storybook tests #34
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: | |
pull_request: | |
jobs: | |
run-tests: | |
name: Run tests | |
runs-on: ubuntu-22.04-2core-arm64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install deps | |
run: yarn && yarn playwright install --with-deps | |
- name: Run unit tests | |
run: yarn test | |
- name: Build Storybook | |
run: yarn storybook:build | |
- name: Run Storybook tests | |
run: yarn storybook:test-ci |