Storybook Tests #51
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: Storybook Tests | |
on: deployment_status | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
if: github.event.deployment_status.state == 'success' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout and Setup Node | |
uses: ./.github/actions/checkout-and-setup | |
- name: Install Playwright | |
run: pnpm exec playwright install --with-deps | |
- name: Run Storybook tests | |
run: pnpm stories:test | |
env: | |
TARGET_URL: '${{ github.event.deployment_status.target_url }}' |