-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add support for node 14 and 16, mark older versions legacy #66
Add support for node 14 and 16, mark older versions legacy #66
Conversation
Thanks @badrange for the contribution! Two things to round out this work:
@pirog, how should we handle legacy node version support going forward? Should we keep the node10/12 examples, maybe combine them into a node-legacy example? |
examples/node14/.lando.yml
Outdated
- yarn | ||
command: /app/node_modules/.bin/nodemon src/app-custom.js --watch src --ignore *.test.js | ||
patch: | ||
type: node:14.18.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this actually exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch, you're quite right about that, should be fixed now.
Thank you for the quick response @reynoldsalec - should be fixed now. I also took the liberty of upgrading the dependencies in the new package.jsons. |
Thanks @badrange, I can spin up node14 now. When I try to test node16 I'm getting a message You'll also want to all your tests to the |
…k with dev versions of node
Thanks for the feedback @reynoldsalec - I now managed to get the tests to pass. |
@@ -15,7 +15,8 @@ jobs: | |||
node-version: | |||
- '14' | |||
leia-tests: | |||
- node-10-example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spoke with Pirog and he wants us to keep all the legacy version options available/tested. Let's keep the node-10-example tests @badrange
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, makes sense! I pushed an update, let's hope the CI/CD pipeline works.
You're a champ @badrange, I'm going to merge this in. Would you have interest in maintaining the node recipe once we split it out of Lando core? Might be up your alley... |
Happy times! Let's get back with maintainership once that happens, depends on the work situation you know! :-) |
Here is the corresponding documentation PR:
lando/lando#3219