Skip to content

Commit

Permalink
Run storybook tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
angelikatyborska committed Aug 19, 2024
1 parent aff522a commit 417e5d8
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/run-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,24 @@ jobs:
with:
node-version: '18.16.1'

- name: Install dependencies ⚙️
run: yarn

- name: Lint 👀
run: |
yarn
yarn lint
run: yarn lint

- name: Test 🚀
run: |
yarn
yarn test
run: yarn test

- name: Build Storybook 📖
run: yarn build-storybook

- name: Storybook Tests (axe-core) ♿️
run: |
yarn
yarn build-storybook
yarn storybook &
echo "wait for storybook to start"
until curl --output /dev/null --silent --head --fail http://localhost:6006; do
printf '.'
sleep 5
done
yarn test-storybook

0 comments on commit 417e5d8

Please sign in to comment.