Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Install dependencies
run: npm ci

# - name: Run all checks and build
# run: npm run all
- name: Run all checks and build
run: npm run all

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This might be useful if you need a single report, but your chosen reporter gener
To merge CTRF reports in a specified directory, use the following command:

```sh
npx [email protected].3 merge <directory>
npx [email protected].4 merge <directory>
```

Replace `directory` with the path to the directory containing the CTRF reports you want to merge. Your merged report will be saved as `ctrf-report.json` in the same directory by default.
Expand All @@ -52,26 +52,26 @@ Replace `directory` with the path to the directory containing the CTRF reports y

```sh
# Save with custom filename in input directory
npx [email protected].3 merge ./reports --output my-merged-report.json
npx [email protected].4 merge ./reports --output my-merged-report.json
# Merged report saved to: ./reports/my-merged-report.json

# Save with relative path from current directory
npx [email protected].3 merge ./reports --output ./output/merged.json
npx [email protected].4 merge ./reports --output ./output/merged.json
# Merged report saved to: ./output/merged.json

# Save to directory with default filename
npx [email protected].3 merge ./reports --output ./output/
npx [email protected].4 merge ./reports --output ./output/
# Merged report saved to: ./output/ctrf-report.json

# Save to absolute path
npx [email protected].3 merge ./reports --output /tmp/merged.json
npx [email protected].4 merge ./reports --output /tmp/merged.json
# Merged report saved to: /tmp/merged.json
```

-k, --keep-reports: Keep existing reports after merging. By default, the original reports will be deleted after merging.

```sh
npx [email protected].3 merge <directory> --keep-reports
npx [email protected].4 merge <directory> --keep-reports
```

## Flaky
Expand All @@ -82,7 +82,7 @@ Usage
To output flaky tests, use the following command:

```sh
npx [email protected].3 flaky <file-path>
npx [email protected].4 flaky <file-path>
```

Replace <file-path> with the path to the CTRF report file you want to analyze.
Expand Down