Skip to content

14.11.1

14.11.1 #48

Workflow file for this run

# sends test-coverage data to codecov.io
# https://codecov.io/gh/spencermountain/compromise
name: Coverage
on:
release:
types: [created]
jobs:
getCoverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm i -g c8 codecov
- run: c8 -r lcov -n 'src/**/*' -n 'plugins/**/*' npm run test && codecov -t 15039ad1-b495-48cd-b4a0-bcf124c9b318
# - run: npm run codecov