Include Percy command in config for Cypress (#11730)

because command overrides command-prefix, so Percy was not being
invoked.
This commit is contained in:
Andy Balaam 2023-10-11 15:15:33 +01:00 committed by GitHub
parent 71f2104632
commit e5a3b6c390
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,8 +173,7 @@ jobs:
wait-on: "http://localhost:8080"
record: true
parallel: true
command-prefix: "yarn percy exec --parallel --"
command: "npx cypress-cloud run"
command: "yarn percy exec --parallel -- npx cypress-cloud run"
config: '{"reporter":"cypress-multi-reporters", "reporterOptions": { "configFile": "cypress-ci-reporter-config.json" } }'
ci-build-id: ${{ needs.prepare.outputs.uuid }}
env: