Skip to content

Commit

Permalink
docs: fix github actions example for shard usage
Browse files Browse the repository at this point in the history
Corrected because the content of this comment was not reflected in other parts of the usage.

#257 (comment)
  • Loading branch information
MH4GF committed Jun 21, 2023
1 parent 8319b9e commit 212f890
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,14 +433,14 @@ test:
- name: Testing storybook
run: yarn test-storybook --coverage --shard=${{ matrix.shard }}/${{ strategy.job-total }}
- name: Renaming coverage file
uses: mv coverage/storybook/coverage-storybook.json coverage/storybook/coverage-storybook-${matrix.shard}.json
run: mv coverage/storybook/coverage-storybook.json coverage/storybook/coverage-storybook-${matrix.shard}.json
report-coverage:
name: Reporting storybook coverage
steps:
- name: Merging coverage
uses: yarn nyc merge coverage/storybook merged-output/merged-coverage.json
run: yarn nyc merge coverage/storybook merged-output/merged-coverage.json
- name: Report coverage
uses: yarn nyc report --reporter=text -t merged-output --report-dir merged-output
run: yarn nyc report --reporter=text -t merged-output --report-dir merged-output
```

Circle CI example:
Expand Down

0 comments on commit 212f890

Please sign in to comment.