Closed trollepierre closed 2 years ago
For now, I will go for Node 12. I am looking for a way to support node 16 and 12 together on the CI.
Apparently, I found a solution that runs: https://app.travis-ci.com/github/cozy/create-cozy-app/builds/244601751
yarn test @ Node 16
yarn test @ Node 12
yarn test:integration @ Node 16 => NOT included in yarn test
yarn test:cozy-scripts:default @ Node 16 => included in yarn test
yarn test:tools @ Node 16 => included in yarn test
@Crash-- : Is that blocking to run yarn test integration with node 12?
Btw I hardly understand why we run that much tests. I think this can be the topic of another PR.
Since an app can use a service that is run on our serveurs, and that our serveurs are currently running on node 12, I don't know how to handle that.
Maybe we can edit the travis.yml to add support of node 16 but also the support of node 12 ?