refactor(BoltzVerifier): interaction for validation (#155) #757
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI for RIF-Relay-Contract | |
on: [push] | |
jobs: | |
lint_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16.x" | |
- name: Install dependencies | |
run: npm install | |
- name: Check Codestyles errors | |
run: npm run ci:format | |
- name: Check Linter bugs for Typescript | |
run: npm run ci:lint | |
- name: Download rif-relay node configuration | |
run: | | |
wget https://raw.githubusercontent.com/rsksmart/rif-relay/main/docker/node.conf | |
wget https://raw.githubusercontent.com/rsksmart/rif-relay/main/docker/logback.xml | |
- name: Run docker image | |
run: docker run -d -p 127.0.0.1:4444:4444 -p 127.0.0.1:4445:4445 --name enveloping-rskj -it -v $PWD/logback.xml:/etc/rsk/logback.xml -v $PWD/node.conf:/etc/rsk/node.conf rsksmart/rskj:IRIS-3 --regtest | |
- name: Run tests | |
run: npm run ci:test |