Skip to content

Additional Test

Additional Test #17

Workflow file for this run

name: Code Coverage
on:
push:
branches: [ main ]
paths-ignore:
- '**.md'
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [ 16.x ]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set Up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: |
npm install
npm install -g nyc
- name: Run Coverage Tests
run: nyc --reporter=lcov npm test
- name: Upload Coverage To Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}