ilearnio / module-alias Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added GitHub Action workflows to run the tests on various versions of Node.js #126
base: dev
Are you sure you want to change the base?
Conversation
…ons as arithmetic operations must be done only with major version to determine if we need to upgrade npm
…orkflow to run on push as well
|
Hey @jamesmortensen Thanks a lot for contributing, and taking the time to dig into this. My thoughts so far:
I think I'm inclined towards cutting a 3.0.0 release, dropping support for older node versions. I don't have the bandwidth to dig into testing issues on node versions that were End-Of-Life'd in 2016. I'll sleep on it. Also, if you're interested, feel free to open another PR with a |
|
Ok, @Kehrlann I'll make the changes this next week when I get more time to look at this. For what it's worth, it seems like a hassle to support 0.10.0 and 5.x, so... great call! James |
Even versions and 17.x
|
@Kehrlann I made the changes.
Looking forward to the 3.0.0 release! |
|
Hi @Kehrlann I just wanted to bump this thread. Are we ready to merge this pull request? Please let me know if there is anything else we need to change. |
I created two workflow files, one uses the node-setup action to run through all of the versions of Node in the matrix list and run the tests. All tests passed except on v5.x and v0.10.0 due to npm incompatibilities.
nvm has a feature that lets you update npm to the latest known working version with a specific node version. So I created another workflow to use nvm to install various node versions instead of the node-setup action. Specifically for v5.x and v0.10.0, I ran
nvm install-latest-npmto update npm to a working version.This results in tests passing for v5.x, but there are certificate errors when attempting to npm install using Node v0.10.0. You can see the results here: https://github.com/jamesmortensen/module-alias/runs/5581223733?check_suite_focus=true
Not sure how to proceed from here, so I thought I'd share what I'd done so far.