Skip to content

Komp-377-datepicker #1068

Komp-377-datepicker

Komp-377-datepicker #1068

Workflow file for this run

name: "Component Test Runner"
on:
push:
branches: ["master"]
pull_request:
types: [opened, synchronize]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- name: Install dependencies
run: npm install
- name: Install Playwright
working-directory: ./apps/storybook
run: npx playwright install --with-deps
- name: Build Storybook
working-directory: ./apps/storybook
run: npm run build
- name: Serve Storybook and run tests
working-directory: ./apps/storybook
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 && npm run test-storybook"