From 5d7f6f46183891df69d5542a224aa0bcc66df401 Mon Sep 17 00:00:00 2001 From: Antonio Britto Date: Tue, 22 Aug 2023 19:57:26 -0300 Subject: [PATCH] bump action version --- README.md | 11 +++++++---- action.yml | 20 ++++++++++---------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index b4c0534..eaa7240 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # cypress-evaluator-action + Cypress evaluator action for Tryber projects This action evaluate Tryber projects with [Cypress](https://www.npmjs.com/package/cypress) library. @@ -11,7 +12,7 @@ This action evaluate Tryber projects with [Cypress](https://www.npmjs.com/packag **Default: false** - Run npm start and waits to http://localhost:3000 before testing. + Run npm start and waits to before testing. - `headless` @@ -38,17 +39,19 @@ This action evaluate Tryber projects with [Cypress](https://www.npmjs.com/packag Cypress unit tests JSON results in base64 format. ## Simple usage example + ```yml -uses: betrybe/cypress-evaluator-action@v7 +uses: betrybe/cypress-evaluator-action@v8.2 with: pr_author_username: ${{ github.event.inputs.pr_author_username }} ``` ## How to get result output + ```yml - name: Cypress evaluator id: evaluator - uses: betrybe/cypress-evaluator-action@v7 + uses: betrybe/cypress-evaluator-action@v8.2 with: pr_author_username: ${{ github.event.inputs.pr_author_username }} - name: Next step @@ -107,4 +110,4 @@ where the `"requirement #1"`, `"requirement #2"` and `"requirement #3"` are the ## Learn about GitHub Actions -- https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-a-docker-container-action +- diff --git a/action.yml b/action.yml index 0e1ec89..9784e63 100644 --- a/action.yml +++ b/action.yml @@ -1,24 +1,24 @@ -name: 'Cypress evaluator' -description: 'Cypress evaluator action for Tryber projects' +name: "Cypress evaluator" +description: "Cypress evaluator action for Tryber projects" inputs: npm-start: - description: 'Run npm start and waits to http://localhost:3000 before testing' + description: "Run npm start and waits to http://localhost:3000 before testing" default: false headless: - description: 'Hide the browser instead of running headed at Cypress running' + description: "Hide the browser instead of running headed at Cypress running" default: true browser: - description: 'Define what browser Cypress must run' - default: 'chrome' + description: "Define what browser Cypress must run" + default: "chrome" pr_author_username: - description: 'Pull Request author username' + description: "Pull Request author username" required: true outputs: result: - description: 'Cypress unit tests JSON results in base64 format.' + description: "Cypress unit tests JSON results in base64 format." runs: - using: 'docker' - image: 'docker://betrybe/cypress-evaluator-action:v8.1' + using: "docker" + image: "docker://betrybe/cypress-evaluator-action:v8.2" args: - ${{ inputs.npm-start }} - ${{ inputs.headless }}