Skip to content

feat: create config generator script for os contribution #877

feat: create config generator script for os contribution

feat: create config generator script for os contribution #877

name: Report Code Coverage
on:
workflow_call:
secrets:
CODECOV_TOKEN:
required: true
pull_request:
types: ['opened', 'reopened', 'synchronize']
jobs:
coverage:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.5.0
with:
fetch-depth: 1
- name: Setup Node
uses: actions/setup-node@v3.6.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm run test:ci
- name: Upload Coverage Reports to Codecov
uses: codecov/codecov-action@v3.1.1
with:
directory: ./reports/coverage
token: ${{ secrets.CODECOV_TOKEN }}