adobe / adobeio-cna-starter-project

DEPRECATED - Please use https://github.com/adobe/aio-cli to manage your future apps!
https://adobe.io
Apache License 2.0
10 stars 8 forks source link

Can we relax the chrome requirement? #11

Open purplecabbage opened 5 years ago

purplecabbage commented 5 years ago

Currently every commit/pr triggers an end to end build, which includes installing google chrome. It's 54MB and our tests on windows are taking 8-10 minutes.

moritzraho commented 5 years ago

Good point. Also I noticed that the main time consuming command on windows build isnpm install. It's very slow on windows. If the main concern is travis build time (not size), then we should also check if there are techniques around to optimize npm install.

shazron commented 5 years ago

We should use npm ci if we have a lock file. https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable

Himavanth commented 5 years ago

We should check if this speeds up the process. https://docs.travis-ci.com/user/caching/#npm-cache If it works, we also need to check how long the cache would stay before being invalidated.