feat: APPS-2513 Add BlockHighlight child components (#421) #697
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: Submit screenshots to Percy for visual regression testing. | |
on: | |
push: | |
branches: [ vue3.x ] | |
workflow_dispatch: | |
inputs: {} | |
jobs: | |
percy: | |
name: Percy - Storybook Components3.x | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/setup-workspace # why cant cypress percy command access this pnpm cache | |
- name: Use cached storybook build | |
id: cache-storybook | |
uses: actions/cache@v3 | |
with: | |
path: storybook-static | |
key: storybook-${{ github.sha }} | |
- run: pnpm run build-storybook | |
if: steps.cache-storybook.outputs.cache-hit != 'true' | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: cypress-io/github-action@v3 | |
with: | |
start: pnpm dlx http-server ./storybook-static -p 6006 | |
install: false | |
command-prefix: 'percy exec -- pnpx' | |
wait-on: http://localhost:6006 | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_STORYBOOK_VUE3X }} | |
PERCY_TARGET_BRANCH: vue3.x | |