Skip to content

How To: Upgrade Node.js version

blag edited this page Jun 29, 2021 · 3 revisions

Node.js is used by st2chatops, and if the version needs updating then the following changes are required

  • st2client.js - update the matrix of versions of node that are tested
  • hubot-stackstorm - update the matrix of versions of node that are tested
  • st2chatops - update so builds with latest node version
  • st2-packages - update the bash installer to install newer version of node
  • st2-dockerfiles - update st2chatops Dockerfile
  • st2docs - update manual install and upgrade instructions
  • ansible-st2 - update installation playbooks
  • puppet-st2 - update installation
  • st2ci - st2_pkg_upgrade_deps - update to add ST2 version specific to update node in upgrade workflows

NB. st2web uses node.js only at build time, and is not used as part of the deployed ST2. But it is a good idea to keep this in sync.