This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Merge pull request #1797 from LiskHQ/1768-bump-node-version-to-18-in-… #169
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: 'Branch Code Coverage' | |
on: | |
push: | |
branches: ['development', feature/*, hotfix/*, main, release/*] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
run: make build-local | |
- name: Check test coverage | |
run: npm run test:coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
files: coverage-final.json | |
name: codecov-umbrella | |
verbose: true |