Skip to content

Update Repo Info for NPM #24

Update Repo Info for NPM

Update Repo Info for NPM #24

Workflow file for this run

name: Continuous Integration Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-and-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Check Lint
run: npm run lint
- name: Check Style
run: npm run style
- name: Run Tests
run: npm test -- --coverage --coverageReporters lcov
- name: Install lcov
run: sudo apt-get -y install lcov
- name: Check code coverage
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: coverage/lcov.info
minimum-coverage: 85
github-token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true