diff --git a/.circleci/config.yml b/.circleci/config.yml index 95bc1b7..977503b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/package.json b/package.json index c1fc4a7..ef5d80d 100644 --- a/package.json +++ b/package.json @@ -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",