Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Move to Node.js 10? #36

Closed
daviddias opened this issue Apr 25, 2018 · 7 comments
Closed

Move to Node.js 10? #36

daviddias opened this issue Apr 25, 2018 · 7 comments

Comments

@daviddias
Copy link
Contributor

daviddias commented Apr 25, 2018

image

Node.js 10 has been released and it is on track to become LTS.

image

The changelog contains some notable new additions, for example N-API is no longer experimental. Full changelog here https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.0.0

Shall we update all our testing to use Node.js 10 from now on and enable devs to use it as a baseline for features?

@daviddias
Copy link
Contributor Author

PR to update configs ipfs-inactive/ci-sync#11

@victorb
Copy link
Contributor

victorb commented Apr 25, 2018

Yeah! Let's not change the legacy CIs that we'll get rid off but rather update the Jenkinsfile for JS projects. Adding it here will include it: https://github.com/ipfs/jenkins-libs/blob/master/vars/javascript.groovy#L3-L6

Guess we have two ways to go about it. First is a bit of a hassle but more safe in that we won't have possibly failing branches suddenly.

  1. allow override of nodejs versions and submit PR with list of versions projects should have. Once all projects are confirmed to be working, we can add it to ipfs/jenkins-libs which is used everywhere.

  2. is to just add it to the default Jenkinsfile, and have node 10 work everywhere. Would be quick to implement but suddenly PRs that were green could end up red.

@daviddias
Copy link
Contributor Author

Let's do 2). Just one question, will we have Coveralls correctly setup?

@travisperson
Copy link

We will need to resolve an issue in js-ipfsd-ctl first before the roll out of Node.js 10 everywhere, or enable projects to override and specify their own Node.js versions.

ipfs/js-ipfsd-ctl#223

Without a fix, any project using js-ipfsd-ctl will fail in Node.js 10.

@victorb
Copy link
Contributor

victorb commented May 9, 2018

Issue for tracking nodejs 10.x in js-ipfs: ipfs/js-ipfs#1347

@victorb
Copy link
Contributor

victorb commented May 9, 2018

To support this better, I've added the ability to set a custom nodejs versions to test in CI, see https://github.com/ipfs/jenkins-libs/#example-2

@victorb
Copy link
Contributor

victorb commented Aug 13, 2018

We've been using nodejs 10 for a while now, done in ipfs-inactive/jenkins-libs@83fcbd7

@victorb victorb closed this as completed Aug 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants