-
Notifications
You must be signed in to change notification settings - Fork 24
chore: upgrade tasks to node 20 #225
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
Conversation
1e59b91 to
008a13c
Compare
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '10.x' | ||
| node-version: '20.x' |
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.
Excuse my ignorance, I'm not really familiar with this repo and Github workflows.
But why the version is hard coded in here instead of "node-version: ${{ matrix.node }}" like on line 28?
If my question doesn't make sense, please feel free to ignore me :)
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.
There is no strong opinion to why a hard coded version is better than a matrix in this case and it could be changed. Obviously, in general cases, running many matrix tests is more expensive. In this case, the tests are minimal .... it just runs matrix on linux to identify some potential errors with a specific version of node (to see if some func has been deprecated/removed and the code break), and on win/Mac just targets the version which should be used at runtime.
I'm not working with azure devops anymore (I left this field 3+ years ago) so I'm not really updated about it but it seems they recommend node 20. This is why I changed it
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, much appreciated!
|
This PR has been open for a bit. Is there is anything that others can do to push it along? I am interested helping move it forward, if possible. Thank you! |
|
@KChavez04 unfortunately i'm not responsible anymore for this project and i don't have bandwidth to work on it. BTW i'll try to find 1 hour on monday to complete it as it is very close to be released. Sorry for the trouble |
0a6389f to
2b55cf8
Compare
Signed-off-by: lstocchi <[email protected]>
|
Just tested and it does not work bc of an error with the node-fetch lib. |
No description provided.