Hi all, I am verifying a pact on pactflow and it shows that it is verified in terminal but once I go to pactflow it still shows unverified. Is there a command I need to run to get it to ber verified in pactlfow. I am simply just running yarn test for now.
Noor Hashem
07/14/2022, 5:53 PM
This is my code:
m
Matt (pactflow.io / pact-js / pact-go)
07/14/2022, 8:34 PM
You'll need to publish the verification results. There is a property you need to enable in CI only (usually) to do that
🙌 1
n
Noor Hashem
07/14/2022, 8:35 PM
Yep just got it thanks!
👍 1
Noor Hashem
07/14/2022, 8:35 PM
I just needed to add: publishVerificationResult: true,
👍 1
👍🏼 1
t
Timothy Jones
07/15/2022, 5:13 AM
Also, it's good practice to get your token from an environment variable or encrypted secret instead of pasting in the file directly
☝️ 1
n
Noor Hashem
07/18/2022, 3:57 PM
Yep I will put it in an environment var, thank you!