Skip to content

feat: add support for Code Climate GitHub Action and React Testing Li… #8

feat: add support for Code Climate GitHub Action and React Testing Li…

feat: add support for Code Climate GitHub Action and React Testing Li… #8

Workflow file for this run

name: Code Climate
on: push
jobs:
codeclimate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: "npm run coverage"
coverageLocations: |
${{github.workspace}}/coverage/clover.xml:clover