Skip to content

Zowe CLI Coverage

Zowe CLI Coverage #77

name: Zowe CLI Coverage
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: |
node scripts/coverage-report.js
npx csv2md coverage-report.csv >> $GITHUB_STEP_SUMMARY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: 'coverage-report'
path: 'coverage-report.csv'