Skip to content

feat(AvatarStack): add component #499

feat(AvatarStack): add component

feat(AvatarStack): add component #499

name: PR Storybook Tests
on:
pull_request:
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Build Storybook Static
run: npm run build-storybook
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 7007 --silent" \
"npx wait-on $PR_PREVIEW_URL && npm run test-storybook"
env:
PR_PREVIEW_URL: http://127.0.0.1:7007