Skip to content

fix: blockchain providers #1

fix: blockchain providers

fix: blockchain providers #1

name: On-chain Relayer CI
on:
push:
paths:
- packages/on-chain-relayer/**
- packages/evm-connector/**
- packages/protocol/**
- packages/sdk/**
- packages/utils/**
- packages/rpc-providers/**
- .github/workflows/on-chain-relayer-tests.yml
- .github/workflows/deploy-images-to-ecr-public.yml
jobs:
on-chain-relayer-tests:
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: packages/on-chain-relayer
steps:
- uses: actions/checkout@v3
- name: Setup monorepo access
uses: redstone-finance/ssh-agent@v0.8.1
with:
ssh-private-key: ${{ secrets.MONOREPO_PRIVATE_KEY }}
- uses: actions/setup-node@v3
with:
node-version: 18.15
- name: Install modules
run: yarn
- name: Compile contracts
run: yarn compile
- name: Compile evm-connector
run: cd ../evm-connector && yarn compile
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Run tests
run: yarn test
env:
NODE_ENV: test