Skip to content
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

Use LTS version Node v14 instead of Node v12 as default #964

Merged
merged 9 commits into from
Sep 19, 2022

Conversation

kevinchua6
Copy link
Contributor

Summary:

Partially fixes #961 (still need to update documentation, which cedric will do).
Fixes #941

Changes Made:

  • Now when we run nvm use, it'll set node v14.17.6 as the default version.

Proposed Commit Message:

Set default node version to 14

Currently, our node version is no longer supported.

Let's upgrade Node to a LTS version, starting from 
the earliest supported version.

@codecov-commenter
Copy link

codecov-commenter commented Jul 11, 2022

Codecov Report

Merging #964 (469b050) into master (4094fb9) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #964      +/-   ##
==========================================
- Coverage   62.31%   62.26%   -0.06%     
==========================================
  Files          86       86              
  Lines        1937     1937              
  Branches      215      215              
==========================================
- Hits         1207     1206       -1     
  Misses        695      695              
- Partials       35       36       +1     
Impacted Files Coverage Δ
src/app/shared/issue-tables/issue-sorter.ts 43.47% <0.00%> (-4.35%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@gycgabriel gycgabriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@dingyuchen dingyuchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add node 14 into the github workflow as well, as that would have a direct impact on enforcing the node version used in this project!

@@ -89,7 +89,7 @@
"@types/dompurify": "^2.3.1",
"@types/jasmine": "^3.8.2",
"@types/jasminewd2": "2.0.8",
"@types/node": "~12.12.6",
"@types/node": "^15.6.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be 14?

Copy link
Contributor Author

@kevinchua6 kevinchua6 Jul 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I put it to 14 it fails haha, I also thought it was like that but actually there's a table that maps typescript versions with @type/node versions haha
https://stackoverflow.com/questions/64924337/i-am-getting-an-error-when-compiling-angular-6-project/65026470#65026470

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@gycgabriel gycgabriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kkangs0226 kkangs0226 merged commit b3490f9 into CATcher-org:master Sep 19, 2022
@cheehongw cheehongw mentioned this pull request Jun 12, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants