Skip to content

Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group #2561

Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group

Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group #2561

name: Run visual regression tests
on: [push]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
RUNNING_IN_CI: true
jobs:
run-visual-regression-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Install Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn install
- name: Set up Docker
uses: docker/setup-buildx-action@v3
- name: Run visual regression tests
id: vr
run: yarn test-visual
# Archive report artifacts if visual regression tests fail
- name: Archive BackstopJS reports
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: backstop-reports
path: |
backstop_data/bitmaps_test
backstop_data/html_report