Maybe unrelated to prisma itself, but it’s related to database and I’m using prisma. And someone might be able to help.
I’m setting up for CI/CD for our
frontend project(using github actions). And I need to run the tests(cypress) on each PR to block merge if they fail. How do you guys create an instance of the backend and database for that?
• Do you create a new Backend/Database instance from scrach for every PR?
• Do you use an existing
dev
backend/database but reset all the data?
• Do you use an existing
dev
backend/database but don’t reset all the data and have the tests work around other data on the dev environment?