upgrade to node 18
This commit is contained in:
parent
5bb8d9ce6a
commit
9186ddffcb
|
|
@ -13,7 +13,7 @@ mkdir -p tmp/use-npm-repository && cd tmp/use-npm-repository
|
||||||
|
|
||||||
# install node LTS.
|
# install node LTS.
|
||||||
# see https://github.com/nodesource/distributions#debinstall
|
# see https://github.com/nodesource/distributions#debinstall
|
||||||
curl -sL --fail --show-error https://deb.nodesource.com/setup_16.x | bash
|
curl -sL --fail --show-error https://deb.nodesource.com/setup_18.x | bash
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
node --version
|
node --version
|
||||||
npm --version
|
npm --version
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue