Skip to content

Commit

Permalink
Use workflow-unique id as HAPPO_NONCE
Browse files Browse the repository at this point in the history
The previous ID changed for each job, which won't work in our case.
  • Loading branch information
trotzig committed May 30, 2020
1 parent e6597ca commit e83ab7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- node/with-cache:
steps:
- run: yarn install
- run: "HAPPO_NONCE=${CIRCLE_BUILD_NUM} node bin/happo-cypress.js finalize"
- run: "HAPPO_NONCE=${CIRCLE_WORKFLOW_ID} node bin/happo-cypress.js finalize"
workflows:
build-and-test:
jobs:
Expand All @@ -43,7 +43,7 @@ workflows:
parallel: true
parallelism: 2
record: true
command-prefix: "HAPPO_PROJECT=parallel HAPPO_NONCE=${CIRCLE_BUILD_NUM} node bin/happo-cypress.js -- yarn"
command-prefix: "HAPPO_PROJECT=parallel HAPPO_NONCE=${CIRCLE_WORKFLOW_ID} node bin/happo-cypress.js -- yarn"
- finalize-happo:
requires:
- cypress/run

0 comments on commit e83ab7c

Please sign in to comment.