Skip to content

Commit

Permalink
fix: nestjs example should use branches in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed May 9, 2022
1 parent 04a60f1 commit a7adf07
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,12 @@ export class PactProviderConfigOptionsService

// Fetch pacts from broker
pactBrokerUrl: "https://test.pactflow.io/",
consumerVersionTags: ["master", "test", "prod"],
providerVersionTags: ["master"], // in real code, this would be dynamically set by process.env.GIT_BRANCH
consumerVersionSelectors: [
{
matchingBranch: true,
},
],
providerVersionBranch: "master",
enablePending: true,
pactBrokerUsername: "dXfltyFMgNOFZAxr8io9wJ37iUpY42M",
pactBrokerPassword: "O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1",
Expand Down

0 comments on commit a7adf07

Please sign in to comment.