Skip to content

Add coverage for errors #115

Add coverage for errors

Add coverage for errors #115

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- "16"
- "*"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install -g npm@8
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v1
with:
name: Node.js ${{ matrix.node-version }}