Skip to content

docs: update examples and docs #396

docs: update examples and docs

docs: update examples and docs #396

name: user-flow-md-report-test
on:
pull_request:
paths-ignore:
- '*.md'
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- name: Clean Install
run: npm ci
- name: Collect Report
run: npm run @push-based/user-flow -- --rcPath ./examples/github-report/.user-flowrc.json --openReport false
- name: Rename Report
run: npx tsx --tsconfig ./examples/github-report/tsconfig.json ./examples/github-report/tools/md-report-rename.mts
- name: Add reduced report as comment to the PR
uses: marocchino/sticky-pull-request-comment@v2
with:
hide_and_recreate: true
header: md-report-test
path: ./examples/github-report/measures/md-report.md