Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Storybook Tests

Storybook Tests #531

Workflow file for this run

# .github/workflows/storybook-tests.yml
name: Storybook Tests
on: deployment_status
# Change the working directory for all the jobs in this workflow
defaults:
run:
working-directory: packages/design-system
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
if: github.event.deployment_status.state == 'success'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Install dependencies
run: yarn
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run Storybook tests
run: yarn test-storybook
env:
TARGET_URL: '${{ github.event.deployment_status.target_url }}'