Skip to content

Zowe CLI Coverage

Zowe CLI Coverage #137

name: Zowe CLI Coverage
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
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@v4
with:
name: 'coverage-report'
path: 'coverage-report.csv'