mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Switch to Node.js v12 on CI
This commit is contained in:
parent
1225799180
commit
3940cf22be
@ -35,7 +35,7 @@ workflows:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10-buster
|
- image: circleci/node:12-buster
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Install Git Large File Storage (LFS)
|
name: Install Git Large File Storage (LFS)
|
||||||
@ -108,7 +108,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_10.x/pool/main/n/nodejs/nodejs_10.23.0-deb-1nodesource1_amd64.deb
|
wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_12.x/pool/main/n/nodejs/nodejs_12.22.1-deb-1nodesource1_amd64.deb
|
||||||
sudo dpkg -i "$HOME/nodejs.deb"
|
sudo dpkg -i "$HOME/nodejs.deb"
|
||||||
- run:
|
- run:
|
||||||
name: Install yarn
|
name: Install yarn
|
||||||
@ -340,7 +340,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_10.x/pool/main/n/nodejs/nodejs_10.23.0-deb-1nodesource1_amd64.deb
|
wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_12.x/pool/main/n/nodejs/nodejs_12.22.1-deb-1nodesource1_amd64.deb
|
||||||
sudo dpkg -i "$HOME/nodejs.deb"
|
sudo dpkg -i "$HOME/nodejs.deb"
|
||||||
- run:
|
- run:
|
||||||
name: Install yarn
|
name: Install yarn
|
||||||
@ -440,7 +440,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_10.x/pool/main/n/nodejs/nodejs_10.23.0-deb-1nodesource1_amd64.deb
|
wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_12.x/pool/main/n/nodejs/nodejs_12.22.1-deb-1nodesource1_amd64.deb
|
||||||
sudo dpkg -i "$HOME/nodejs.deb"
|
sudo dpkg -i "$HOME/nodejs.deb"
|
||||||
- run:
|
- run:
|
||||||
name: Install yarn
|
name: Install yarn
|
||||||
@ -493,7 +493,7 @@ jobs:
|
|||||||
./scripts/launchpad/stop.sh
|
./scripts/launchpad/stop.sh
|
||||||
docs-build:
|
docs-build:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10-buster
|
- image: circleci/node:12-buster
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Install Git Large File Storage (LFS)
|
name: Install Git Large File Storage (LFS)
|
||||||
@ -524,7 +524,7 @@ jobs:
|
|||||||
paths: docs_deployment
|
paths: docs_deployment
|
||||||
docs-deploy:
|
docs-deploy:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10-buster
|
- image: circleci/node:12-buster
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
@ -542,7 +542,7 @@ jobs:
|
|||||||
command: npx gh-pages@3.0.0 --message "Update docs [skip ci]" --dist docs_deployment --user "CI deployment <ci@cosmwasm.com>" --repo "git@github.com:cosmos/cosmjs.git"
|
command: npx gh-pages@3.0.0 --message "Update docs [skip ci]" --dist docs_deployment --user "CI deployment <ci@cosmwasm.com>" --repo "git@github.com:cosmos/cosmjs.git"
|
||||||
lint:
|
lint:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10-buster
|
- image: circleci/node:12-buster
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Install Git Large File Storage (LFS)
|
name: Install Git Large File Storage (LFS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user