Skip to content

Interaction Tests #4622

Interaction Tests

Interaction Tests #4622

name: Interaction Tests
on: deployment_status
jobs:
tests:
if: github.event.deployment_status.state == 'success' && contains(github.event.deployment_status.target_url, 'storybook')
runs-on: ubuntu-latest
timeout-minutes: 10
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/[email protected]
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
always-auth: true
- name: Install npm dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Run interaction tests
run: npm run test-storybook
env:
TARGET_URL: "${{ github.event.deployment_status.target_url }}"