Hi all, I'm trying to configure a pipeline(GitHub) that based on stage(dev, qa, prod, etc) will record or not the requests. When env is prod, I want to run the integration tests recording the requests and that is ok to achieve.
The issue is: how can I retrieve the newly recorded json files from the mappings folder? My integration tests can run either using Wiremock only or Wiremock + Test Containers.
After 'retrieving' the files I want to i) delete the 'old' files in the mappings folder; ii) push the new files to the source code inside mappings folder
Has anyone tried something similar?