Skip to content

add fallback for web3 json-rpc. #40

add fallback for web3 json-rpc.

add fallback for web3 json-rpc. #40

Workflow file for this run

name: "management-service-deployer"
on:
push:
branches:
- '**'
release:
types: [ published ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: setup-docker
uses: docker-practice/actions-setup-docker@master
- run: node --version
- run: npm --version
- run: docker --version
- run: python --version
- run: env
- name: Run npm install
run: npm install
- run: npm install --no-save tap-xunit
- name: spinning up ganache
run: npm run start:eth &
- run: mkdir -p _out/unit _out/e2e
- run: npm test -- --timeout=1m
- run: npm run build
build-and-release-to-staging:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: setup-docker
uses: docker-practice/actions-setup-docker@master
- run: ./boyar/create-version-file.sh
- name: Run npm install
run: npm install
- run: ./boyar/docker-build.sh
- name: release-to-docker-hub-staging
env:
DOCKER_HUB_IMAGE_PATH: orbsnetworkstaging/management-service
DOCKER_HUB_LOGIN: ${{ secrets.DOCKER_HUB_STAGING_LOGIN }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_STAGING_PASSWORD }}
run: ./.github/release-to-staging.sh