Zied Bejaoui
04/05/2024, 11:30 AM"test:publish": "pact-broker publish ./pacts --consumer-app-version=\"$(npx absolute-version)\" --auto-detect-version-properties --broker-base-url=https://*****.<http://pactflow.io|pactflow.io> --broker-token=***********"Yousaf Nabi (pactflow.io)
--yes but its not compatible with all node versions (npx changed the default behaviour) - if you swap out for a fixed value, you may see it work, and then you can install absolute-version prior
https://docs.npmjs.com/cli/v8/commands/npx#compatibility-with-older-npx-versions
• To prevent security and user-experience problems from mistyping package names,pact-broker command will be in the node_modules/.bin folderprompts before installing anything. Suppress this prompt with thenpxor-yoption.--yes
Zied Bejaoui
04/05/2024, 11:43 AMyarn workspace @domain/name test:publishYousaf Nabi (pactflow.io)
Zied Bejaoui
04/05/2024, 11:58 AMZied Bejaoui
04/05/2024, 4:14 PM