Skip to content

Commit e28dce0

Browse files
authored
Merge pull request #41 from matt-ball/fix-reporters
fix reporting defaults
2 parents 3bf3cf3 + 24bc868 commit e28dce0

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ As well as `apiKey`, `collection`, and `environment`, all other Newman settings
7373
Note that:
7474
- GitHub Actions only supports `string`, `number` and `boolean` types. For fields that require objects/arrays, you will need to stringify them appropriately.
7575
- `environment` and `globals` are only supported as a `string` in this Action. They cannot be passed stringified objects.
76+
- `reporters` is only supported as a stringified object.
7677

7778
The following example demonstrates these notes in practice:
7879

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ inputs:
4646
description: 'Always exit cleanly'
4747
reporters:
4848
description: 'Reporter to use'
49-
default: 'cli'
49+
default: '["cli"]'
5050
reporter:
5151
description: 'Reporter options'
5252
color:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "newman-action",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Run Postman collections with Newman as a GitHub Action",
55
"main": "dist/index.js",
66
"repository": {

0 commit comments

Comments
 (0)