fix: blockchain providers #1
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: Oracle arbitrum dry run test | |
on: | |
push: | |
paths: | |
- packages/oracle-node/** | |
- .github/workflows/oracle-arbitrum-dry-run-test.yml | |
jobs: | |
arbitrum-dry-run-test: | |
runs-on: self-hosted | |
timeout-minutes: 10 | |
defaults: | |
run: | |
working-directory: packages/oracle-node | |
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: Run dry run test | |
run: yarn test:arbitrum-dry-run 2>&1 | tee logs.log; test ${PIPESTATUS[0]} -eq 0 | |
env: | |
NODE_ENV: test | |
COINGECKO_API_URL: https://pro-api.coingecko.com/api/v3/simple/price | |
COINGECKO_API_KEY: ${{ secrets.COINGECKO_API_KEY }} | |
COINMARKETCAP_API_KEY: ${{ secrets.COINMARKETCAP_API_KEY }} | |
TWELVE_DATA_API_KEY: ${{ secrets.TWELVE_DATA_API_KEY }} | |
KAIKO_API_KEY: ${{ secrets.KAIKO_API_KEY }} | |
SKIPPED_SOURCES: '["binance", "binancecoinm", "binanceusdm", "bybit"]' | |
- name: Create summary | |
if: ${{ !cancelled() }} | |
run: scripts/filter-logs.sh logs.log >> $GITHUB_STEP_SUMMARY || true |