add: latest HF blocks #107
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 | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
pull_request: | |
branches: | |
- develop | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update Path | |
run: echo "$RUNNER_WORKSPACE/$(basename $GITHUB_REPOSITORY)" >> $GITHUB_PATH # Make it accessible from runner | |
- name: Install solc | |
run: | | |
set -x | |
wget -c https://github.com/ethereum/solidity/releases/download/v0.5.17/solc-static-linux | |
mv solc-static-linux solc | |
chmod +x solc | |
solc --version | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Generate genesis file | |
run: bash generate.sh 15001 heimdall-15001 | |
- name: Run tests | |
run: npm run test:ci |