Merge master (v1.34.4) into develop #2520
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: Percy Snapshots | |
on: | |
push: | |
branches-ignore: dev/* | |
pull_request: | |
jobs: | |
nonce: | |
runs-on: ubuntu-latest | |
outputs: | |
result: ${{ steps.nonce.outputs.result }} | |
steps: | |
- id: nonce | |
run: echo result=${{ github.run_id }}-$(date +%s) >> $GITHUB_OUTPUT | |
call_snapshots_default: | |
needs: nonce | |
uses: yext/slapshot-reusable-workflows/.github/workflows/percy_snapshots.yml@v1 | |
with: | |
build_script: npm run setup-test-site && npm run build-test-site | |
percy_script: npx percy exec --parallel -- node tests/percy/index.js | |
PERCY_PARALLEL_NONCE: ${{ needs.nonce.outputs.result }} | |
PERCY_PARALLEL_TOTAL: 4 | |
secrets: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
call_snapshots_iframe: | |
needs: nonce | |
uses: yext/slapshot-reusable-workflows/.github/workflows/percy_snapshots.yml@v1 | |
with: | |
build_script: npm run setup-test-site && npm run build-test-site | |
percy_script: npx percy exec --parallel -- node tests/percy/index.js iframe | |
PERCY_PARALLEL_NONCE: ${{ needs.nonce.outputs.result }} | |
PERCY_PARALLEL_TOTAL: 4 | |
secrets: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
call_snapshots_spanish: | |
needs: nonce | |
uses: yext/slapshot-reusable-workflows/.github/workflows/percy_snapshots.yml@v1 | |
with: | |
build_script: npm run setup-test-site && npm run build-test-site | |
percy_script: npx percy exec --parallel -- node tests/percy/index.js spanish | |
PERCY_PARALLEL_NONCE: ${{ needs.nonce.outputs.result }} | |
PERCY_PARALLEL_TOTAL: 4 | |
secrets: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
call_snapshots_rtl: | |
needs: nonce | |
uses: yext/slapshot-reusable-workflows/.github/workflows/percy_snapshots.yml@v1 | |
with: | |
build_script: npm run setup-test-site && npm run build-test-site | |
percy_script: npx percy exec --parallel -- node tests/percy/index.js rtl | |
PERCY_PARALLEL_NONCE: ${{ needs.nonce.outputs.result }} | |
PERCY_PARALLEL_TOTAL: 4 | |
secrets: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} |