2.9.0 #2200
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: Coverage | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "*" | |
env: | |
ETH_NODE_URL: ${{ secrets.ETH_NODE_URL }} | |
WALLET_MNEMONIC: ${{ secrets.WALLET_MNEMONIC }} | |
jobs: | |
coverage: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18.20.0" | |
- name: Setup SSH to install dependencies | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Check Coverage | |
run: npm run coverage | |
- name: Publish to Codecov.io | |
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }} |