difftreelog
Readyness script update.
in: master
2 files changed
.docker/readyness.jsdiffbeforeafterboth--- a/.docker/readyness.js
+++ b/.docker/readyness.js
@@ -3,7 +3,7 @@
const main = async () => {
const wsEndpoint = 'ws://127.0.0.1:9944'
const api = new ApiPromise({provider: new WsProvider(wsEndpoint)});
- await api.isReady;
+ await api.isReadyOrError;
const head = (await api.rpc.chain.getHeader()).number.toNumber();
if(head < 1) throw Error('No block #1');
.github/workflows/node_build_test.ymldiffbeforeafterboth100 env:100 env:101 RPC_URL: http://127.0.0.1:9933/101 RPC_URL: http://127.0.0.1:9933/102102103# - name: Test Report103 - name: Test Report104# uses: phoenix-actions/test-reporting@v8104 uses: phoenix-actions/test-reporting@v8105# id: test-report # Set ID reference for step105 id: test-report # Set ID reference for step106# if: success() || failure() # run this step even if previous step failed106 if: success() || failure() # run this step even if previous step failed107# with:107 with:108# name: Tests ${{ matrix.network }} # Name of the check run which will be created108 name: Tests ${{ matrix.network }} # Name of the check run which will be created109# path: tests/mochawesome-report/test-*.json # Path to test results109 path: tests/mochawesome-report/test-*.json # Path to test results110# reporter: mochawesome-json110 reporter: mochawesome-json111# fail-on-error: 'false'111 fail-on-error: 'false'112112113# - name: Stop running containers113 - name: Stop running containers114# if: always() # run this step always114 if: always() # run this step always115# run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down115 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down116116