Skip to content

Commit 3a9238b

Browse files
Chore/migrate to ctrf types (#190)
1 parent 2dfc03c commit 3a9238b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2639
-10315
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -319,18 +319,4 @@ jobs:
319319
annotate: false
320320
env:
321321
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
322-
if: always()
323-
npx-cli-test:
324-
runs-on: ubuntu-latest
325-
needs: build-and-test
326-
steps:
327-
- name: Checkout code
328-
uses: actions/checkout@v4
329-
- name: Install dependencies
330-
run: npm install
331-
- name: Build
332-
run: npm run build:npm
333-
- name: Modify reports
334-
run: npm run modify-reports
335-
- name: Default tables
336-
run: node dist/core/cli.js ctrf-reports/ctrf-report.json --title "Default tables" --annotate false
322+
if: always()

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,14 +363,14 @@ GITHUB_TOKEN:
363363
## Storing Artifacts
364364

365365
Some reports require you to store CTRF reports as artifacts, use the
366-
`upload-artifact` input or the `actions/upload-artifact@v4` action:
366+
`upload-artifact` input for full capabilities:
367367

368368
```yaml
369369
- name: Upload test results
370-
uses: actions/upload-artifact@v4
370+
uses: ctrf-io/github-test-reporter@v1
371371
with:
372-
name: ctrf-report
373-
path: path-to-your-ctrf-report.json
372+
report-path: './ctrf/*.json'
373+
upload-artifact: true
374374
if: always()
375375
```
376376

0 commit comments

Comments
 (0)