Skip to content

Commit c9eb465

Browse files
chore: update node version and improve report generation step in CI
- Changed Node.js version from 20.x to 22.x for better compatibility. - Updated report generation command to build the CLI before executing the report script.
1 parent d1e8aa4 commit c9eb465

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/user-flow-md-report-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [20.x]
13+
node-version: [22.x]
1414
name: Node ${{ matrix.node }}
1515

1616
steps:
@@ -28,7 +28,7 @@ jobs:
2828
run: npm ci
2929

3030
- name: Collect Report
31-
run: npm run @push-based/user-flow -- --rcPath ./examples/github-report/.user-flowrc.json --openReport false
31+
run: npm run build-cli && node ./dist/packages/cli/src/cli.mjs --rcPath ./examples/github-report/.user-flowrc.json --openReport false
3232

3333
- name: Rename Report
3434
run: npx tsx --tsconfig ./examples/github-report/tsconfig.json ./examples/github-report/tools/md-report-rename.mts

0 commit comments

Comments
 (0)