mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
More fixes to ci config
This commit is contained in:
parent
7b1fef158c
commit
81cbc9b51f
@ -36,11 +36,13 @@ jobs:
|
|||||||
- image: circleci/node:10
|
- image: circleci/node:10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- setup_remote_docker:
|
||||||
|
docker_layer_caching: false
|
||||||
- run:
|
- run:
|
||||||
name: Version information
|
name: Version information
|
||||||
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
|
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
|
||||||
- run: # start early for less wait time below
|
- run: # start early for less wait time below
|
||||||
command: ./projects/scripts/cosm/start.sh
|
command: ./project/scripts/cosm/start.sh
|
||||||
background: true
|
background: true
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
name: Restore Yarn Package Cache
|
name: Restore Yarn Package Cache
|
||||||
@ -55,13 +57,13 @@ jobs:
|
|||||||
paths:
|
paths:
|
||||||
- ~/.cache/yarn
|
- ~/.cache/yarn
|
||||||
- run: # wait until cosm scripts have fully started
|
- run: # wait until cosm scripts have fully started
|
||||||
command: timeout 15 bash -c "until curl -s http://localhost:1317/node_info > /dev/null; do sleep 1; done
|
command: timeout 15 bash -c "until curl -s http://localhost:1317/node_info > /dev/null; do sleep 1; done"
|
||||||
- run:
|
- run:
|
||||||
environment:
|
environment:
|
||||||
COSMOS_ENABLED: 1
|
COSMOS_ENABLED: 1
|
||||||
command: yarn test
|
command: yarn test
|
||||||
- run:
|
- run:
|
||||||
command: ./projects/scripts/cosm/stop.sh
|
command: ./project/scripts/cosm/stop.sh
|
||||||
lint:
|
lint:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10
|
- image: circleci/node:10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user