Skip to content

chore: fix codecov #816

chore: fix codecov

chore: fix codecov #816

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: Running tests
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: npm i
- name: Run tests
run: npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true