Skip to content

fix: blockchain providers #1

fix: blockchain providers

fix: blockchain providers #1

Workflow file for this run

name: SDK CI
on:
push:
paths:
- packages/sdk/**
- packages/utils/**
- packages/oracles-smartweave-contracts/**
- packages/protocol/**
- .github/workflows/sdk-tests.yml
jobs:
redstone-sdk-tests:
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: packages/sdk
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 }}
- name: Install modules
run: yarn
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Lint protocol
run: cd ../protocol && yarn lint
- name: Run tests
run: yarn test
env:
NODE_ENV: test