bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Upgrade nodejs version to 20.5.1 #17587

Open pwei1018 opened 1 year ago

pwei1018 commented 1 year ago

The current nodejs version 16 end-of-life is Sept 11, 2023. We have to upgrade to newest version.

Private Zenhub Image

image

update Node version from 16 to 20.

image

update to use the following workflow version file.

Public Repo: bcgov/bcregistry-sre/.github/workflows/ui-cd-node20.yaml@main

Private Repo: bcgov/bcregistry-sre/.github/workflows/ui-cd-private-node20.yaml@main

image

severinbeauvais commented 1 year ago

Is there a plan for who does what, and when it must be completed?

pwei1018 commented 1 year ago

Is there a plan for who does what, and when it must be completed?

It should be done by Project teams. I wish ASAP and it's up to your team planning.

jdyck-fw commented 1 year ago

Entities will get to this next sprint, 19.1

severinbeauvais commented 1 year ago

@pwei1018 @seeker25 Should we use the latest current release (20.7.0) instead?

pwei1018 commented 1 year ago

@pwei1018 @seeker25 Should we use the latest current release (20.7.0) instead?

Some projects are already using 20.5.1. I think we should use the same version unless you think there are new features or fixes we have to update.

severinbeauvais commented 1 year ago

Some projects are already using 20.5.1. I think we should use the same version unless you think there are new features or fixes we have to update.

None that I know of. We will update the Entity UIs to 20.5.1 👍

severinbeauvais commented 1 year ago

Steps to upgrade your workstation (if you use nvm)

  1. open a terminal window
  2. go to your project folder
  3. enter nvm install 20.5.1
  4. enter nvm use 20
  5. enter nvm alias default 20
  6. close this terminal window
  7. open a new terminal window
  8. enter node --version
mstanton1 commented 1 month ago

@hfekete can you check if we are using the correct version in our projects?