Skip to content

Uncoverage

Uncoverage #910

Workflow file for this run

name: Continuous Integration
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run check
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: artiomtr/jest-coverage-report-action@v2
with:
test-script: npm test
github-token: ${{ secrets.GITHUB_TOKEN }}
threshold: 60
integration:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:integration