Skip to content

Disable optional dependencies #2176

Disable optional dependencies

Disable optional dependencies #2176

Workflow file for this run

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: "16.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 --omit=optional
- name: Check Coverage
run: npm run coverage
- name: Publish to Codecov.io
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}