Skip to content

Improved coverage #1409

Improved coverage

Improved coverage #1409

Workflow file for this run

name: unit-test
on:
push:
branches:
- '**'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npm run lint
- name: Run unit tests
run: npm test
- name: Generate Code Coverage report
id: code-coverage
uses: barecheck/code-coverage-action@v1
with:
barecheck-github-app-token: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}
lcov-file: "./coverage/lcov.info"
send-summary-comment: true
show-annotations: "warning"
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]