How to serve angular cli app before running cypress in CI? : <p>I am trying to use Cypress with an Angular (v. 5) CLI application. </p>

<p>The tests works fine when running locally, because here I can just start the serve command before running the cypress tests. </p>

<p>I tried following the documentation <a href="https://docs.cypress.io/guides/guides/continuous-integration.html#Command-Line" rel="noreferrer">here</a>,
but none of the commands seems to be working.</p>

<p>I tried varioues combination, looking like this: </p>

<pre><code>"cypress:run:report": "./node_modules/.bin/cypress run --record --key &lt;key&gt;",
"cypress:run:ci": "start-server-and-test serve:dev http://localhost:4200 cypress:run:report",
"cypress:run:ci2": "npm run -s serve:dev &amp; npm run -s cypress:run:report",
</code></pre>

<p>Thanks in advance.</p>
