Skip to content

Code Climate on PR

Code Climate on PR #17

name: Code Climate on PR
on:
pull_request:
jobs:
code_climate:
name: Code Climate code coverage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run Tests with coverage
run: npm run test:cov
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_ID }}
with:
coverageLocations: coverage/lcov.info:lcov