Skip to content

chore(deps): update dependency babel-loader to v9 #17

chore(deps): update dependency babel-loader to v9

chore(deps): update dependency babel-loader to v9 #17

name: 'Storybook Tests'
on: push
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Install Playwright 🎭
run: ( cd ./apps/storybook && bun x playwright install --with-deps )
- name: Build Storybook
run: ( cd ./apps/storybook && bun run build-storybook --quiet )
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006 && yarn test-storybook"