integrate puppeteer in gitlab with gitlab-ci.yml : <p>Im currently working on e2e test in Chrome Puppeteer. I am at the stage where it would be ideal to integrate my tests in the development process. </p>

<p>What I want to accomplish is the following: my tests run automated before every deploy to production. If they succeed deployment goes through, if they fail deployment is canceled. </p>

<p>I use a pipeline on gitlab to automate my deployment process. 
So my main question is how can I integrate my puppeteer tests into the gitlab-ci.yml file? </p>
