Call initFlashbots
when spam command is run with --sendTo=flashbots
#58
Workflow file for this run
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: Node.js CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Read .nvmrc | |
run: echo "##[set-output name=NODE_VERSION;]$(cat ./core/.nvmrc)" | |
id: nvmrc | |
- name: Use Node.js (.nvmrc) | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "${{ steps.nvmrc.outputs.NODE_VERSION }}" | |
- name: Install dependencies (core) | |
working-directory: ./core | |
run: yarn install | |
- name: Setup wallets for core build | |
working-directory: ./core | |
run: yarn script.createWallets | |
- name: Build core | |
working-directory: ./core | |
run: yarn build | |
- name: Lint source code (core) | |
working-directory: ./core | |
run: yarn lint | |
- name: Install dependencies (cli) | |
working-directory: ./cli | |
run: yarn install | |
- name: Build cli | |
working-directory: ./cli | |
run: yarn build | |
- name: Lint source code (cli) | |
working-directory: ./cli | |
run: yarn lint |