snapshots.sh 331 B

12345678
  1. #!/usr/bin/env bash
  2. if [[ $(uname -m) == 'arm64' ]]; then
  3. # cannot run cypress while on arm, but in amd container
  4. docker compose -f .dev/cypress/visual-regression/docker-compose.arm.yml up --exit-code-from cypress
  5. else
  6. docker compose -f .dev/cypress/visual-regression/docker-compose.amd64.yml up --exit-code-from cypress
  7. fi