From 7f53f92c940b104ec5d0fae78e53591530fb3c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eucl=C3=A9cio=20Josias=20Rodrigues?= Date: Tue, 26 Jan 2021 14:25:50 -0300 Subject: [PATCH] fix: atualiza README --- README.md | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e8722a2..423a525 100644 --- a/README.md +++ b/README.md @@ -5,32 +5,36 @@ This action evaluate Tryber projects with [Jest](https://jestjs.io/) library. ## Inputs -### `npm-start` +- `npm-start` -Run npm start and waits to url before testing + Optional -### `wait-for` + Run npm start and waits to url before testing. -Url that npm start command waits for +- `wait-for` -### `pr_author_username` + Optional -Pull Request author username + Url that npm start command waits for -## Outputs +- `pr_author_username` + + **Required** -### `result` + Pull Request author username. -Jest unit tests JSON results in base64 format. +## Outputs -### `pr-number` +- `result` -Pull Request number that trigger build. + Jest unit tests JSON results in base64 format. ## Usage example ```yml - uses: betrybe/jest-evaluator-action@v8 + with: + pr_author_username: ${{ github.event.inputs.pr_author_username }} with: npm-start: true # false is default wait-for: 'http://localhost:8080' # http://localhost:3000 is default @@ -41,6 +45,8 @@ Pull Request number that trigger build. - name: Jest evaluator id: evaluator uses: betrybe/jest-evaluator-action@v8 + with: + pr_author_username: ${{ github.event.inputs.pr_author_username }} - name: Next step uses: another-github-action with: