Upgrade test-node-v12 to test-node-v14

This commit is contained in:
Simon Warta 2021-10-06 14:11:44 +02:00
parent bdcfe69062
commit ec54866ee3

View File

@ -22,7 +22,7 @@ workflows:
- test: - test:
requires: requires:
- build - build
- test-node-v12: - test-node-v14:
requires: requires:
- build - build
- test-chrome: - test-chrome:
@ -176,7 +176,7 @@ jobs:
./scripts/simapp/slow_stop.sh ./scripts/simapp/slow_stop.sh
./scripts/wasmd/stop.sh ./scripts/wasmd/stop.sh
./scripts/launchpad/stop.sh ./scripts/launchpad/stop.sh
test-node-v12: test-node-v14:
machine: machine:
# We can't use a containerized environment since it requires remote docker to start custom containers. # We can't use a containerized environment since it requires remote docker to start custom containers.
# However, we can't access the remote docker's network from the primary container. This is a # However, we can't access the remote docker's network from the primary container. This is a
@ -230,7 +230,7 @@ jobs:
name: Install nodejs name: Install nodejs
# In the current image, `sudo apt install nodejs` requires `sudo apt update` which is too slow # In the current image, `sudo apt install nodejs` requires `sudo apt update` which is too slow
command: | command: |
wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_12.x/pool/main/n/nodejs/nodejs_12.20.1-deb-1nodesource1_amd64.deb wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_14.x/pool/main/n/nodejs/nodejs_14.18.0-deb-1nodesource1_amd64.deb
sudo dpkg -i "$HOME/nodejs.deb" sudo dpkg -i "$HOME/nodejs.deb"
- run: - run:
name: Install yarn name: Install yarn