Skip to content

Commit

Permalink
Use yarn when invoking happo-cypress
Browse files Browse the repository at this point in the history
Hopefully this will help reproduce an issue we are seeing with silent
failures.
  • Loading branch information
trotzig committed Jun 24, 2020
1 parent b313d4c commit 3839fb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ workflows:
parallel: true
parallelism: 2
record: true
command-prefix: "HAPPO_PROJECT=parallel HAPPO_NONCE=${CIRCLE_WORKFLOW_ID} node bin/happo-cypress.js -- yarn"
command-prefix: "HAPPO_PROJECT=parallel HAPPO_NONCE=${CIRCLE_WORKFLOW_ID} yarn happo-cypress -- -- yarn"
- finalize-happo:
requires:
- cypress-parallel
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"dev": "next --port 7654",
"build": "next build",
"lint": "eslint .",
"start": "next start"
"start": "next start",
"happo-cypress": "node ./bin/happo-cypress.js"
},
"devDependencies": {
"cypress": "^4.2.0",
Expand Down

0 comments on commit 3839fb8

Please sign in to comment.