Skip to content

Update codecov

Update codecov #97

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
# Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0
node-version: ">=14.20.1"
- name: Lint, test, and build
run: |
npm install -g yarn
yarn install
yarn lint
# https://stackoverflow.com/a/52357797/388827
yarn run jest --ci --reporters=jest-junit --reporters=default --coverage
yarn build
- uses: codecov/[email protected]
with:
file: ./coverage/coverage-final.json
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true