Skip to content

feat: add api3 chainlink adapter #352

feat: add api3 chainlink adapter

feat: add api3 chainlink adapter #352

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Check out github repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: "**/node_modules"
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: Install node
uses: actions/setup-node@v1
with:
node-version: "16.x"
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run unit tests
run: yarn test:unit
env:
TS_NODE_SKIP_IGNORE: true
e2e:
runs-on: ubuntu-latest
steps:
- name: Check out github repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: "**/node_modules"
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: Install node
uses: actions/setup-node@v1
with:
node-version: "16.x"
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run e2e tests
run: yarn test:e2e
env:
TS_NODE_SKIP_IGNORE: true
integration:
runs-on: ubuntu-latest
steps:
- name: Check out github repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: "**/node_modules"
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: Install node
uses: actions/setup-node@v1
with:
node-version: "16.x"
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run integration tests
run: yarn test:integration
env:
TS_NODE_SKIP_IGNORE: true
NODE_URI_ETHEREUM: https://eth-mainnet.alchemyapi.io/v2/${{ secrets.ALCHEMYKEY }}
NODE_URI_OPTIMISM: https://opt-mainnet.g.alchemy.com/v2/${{ secrets.ALCHEMYKEY }}
NODE_URI_ARBITRUM: https://arb-mainnet.g.alchemy.com/v2/${{ secrets.ALCHEMYKEY }}
NODE_URI_POLYGON: https://polygon-mainnet.g.alchemy.com/v2/${{ secrets.ALCHEMYKEY }}