new module for ledger related utils #281
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: Run & Upload Test Coverage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
- feature/** | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- uses: browser-actions/setup-chrome@v1 | |
- run: chrome --version | |
- name: Install dependencies | |
run: yarn install | |
- name: Build packages | |
run: yarn build:all | |
- name: Run Jest tests | |
run: yarn test:coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./coverage/coverage-final.json | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |