Skip to content

Change config file options #108

Change config file options

Change config file options #108

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
node:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: ["16.x", "18.x", "20.x"]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm install
- name: Run Lint
run: npm run lint
- name: Run Build
run: npm run build
- name: Run Test
run: npm run test:ci
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: coverage/**/clover.xml
badge: true
fail_below_min: false
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: "60 80"
- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md