Merge pull request #949 from makerdao/delegators-flow #1970
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: Unit Tests | |
on: [push] | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
USE_CACHE: false | |
REDIS_URL: ${{ secrets.REDIS_URL }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install node packages | |
run: yarn | |
- run: yarn build-sdk | |
- run: yarn lint | |
- run: yarn test:ci | |
- name: Codecov | |
run: | | |
yarn add --dev codecov | |
./node_modules/.bin/codecov |