Add new Tag component imageshots #114
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 checks - Storybook Interactions and Accessibility | |
on: push | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Prepare Repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: 𧩠Install Dependencies | |
run: npm ci | |
- name: π Install Playwright | |
run: npx playwright install --with-deps | |
- name: ποΈ Build Storybook | |
run: npm run story:build --quiet | |
- name: π« Serve Storybook | |
run: npx http-server storybook-static --port 6006 --silent & | |
- name: π Ensure Storybook Server is ready | |
run: npx wait-on http://127.0.0.1:6006 | |
- name: π Run Interactions and Accessibility | |
run: npm run test |