From 9b30ca8a5a2911a3646d6acbf362cdcf4f0e7b5e Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 13:34:20 -0300 Subject: [PATCH 01/12] Update main.yml --- .github/workflows/main.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30a4bc1..7b0bf62 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,15 +22,9 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. + - name: Checkout private tools + uses: actions/checkout@v2 + with: + repository: DiegoFernandesQA/helper-qa + token: ${{ secrets.GitHub_PAT }} # `GitHub_PAT` is a secret that contains your PAT + path: my-tools From d9e92f16e6aa54c1383e989222049f0b12dfc5cb Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 13:37:13 -0300 Subject: [PATCH 02/12] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b0bf62..a12ab05 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,5 +26,5 @@ jobs: uses: actions/checkout@v2 with: repository: DiegoFernandesQA/helper-qa - token: ${{ secrets.GitHub_PAT }} # `GitHub_PAT` is a secret that contains your PAT + token: ${{ secrets.GITHUB_TOKEN }} # `GitHub_PAT` is a secret that contains your PAT path: my-tools From 50952cee2559e1229dc350b02da5ecaeca066302 Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 14:18:04 -0300 Subject: [PATCH 03/12] Update main.yml --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a12ab05..9071b4b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,4 +27,3 @@ jobs: with: repository: DiegoFernandesQA/helper-qa token: ${{ secrets.GITHUB_TOKEN }} # `GitHub_PAT` is a secret that contains your PAT - path: my-tools From 804011a817bda35a316f2aa07df575fa34910e5e Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 14:27:59 -0300 Subject: [PATCH 04/12] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9071b4b..e646ee5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,5 +25,6 @@ jobs: - name: Checkout private tools uses: actions/checkout@v2 with: + run: git config --global init.defaultBranch master repository: DiegoFernandesQA/helper-qa token: ${{ secrets.GITHUB_TOKEN }} # `GitHub_PAT` is a secret that contains your PAT From 32a2337ec150e28ec8ae95ffcfbed2582e5e1254 Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 14:31:56 -0300 Subject: [PATCH 05/12] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e646ee5..64d0a7d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,6 @@ jobs: - name: Checkout private tools uses: actions/checkout@v2 with: - run: git config --global init.defaultBranch master + run: git config --global init.defaultBranch main repository: DiegoFernandesQA/helper-qa token: ${{ secrets.GITHUB_TOKEN }} # `GitHub_PAT` is a secret that contains your PAT From eb50ea6e258d9e2e481f8dcab6626e218142bbc0 Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 15:08:06 -0300 Subject: [PATCH 06/12] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 64d0a7d..3c13358 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,6 @@ jobs: - name: Checkout private tools uses: actions/checkout@v2 with: - run: git config --global init.defaultBranch main repository: DiegoFernandesQA/helper-qa - token: ${{ secrets.GITHUB_TOKEN }} # `GitHub_PAT` is a secret that contains your PAT + token: ${{ secrets.GITHUB_TOKEN }} + path: main From 714f00569d04f11ba4cf6c36cbf6abcc189101fc Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 15:13:43 -0300 Subject: [PATCH 07/12] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c13358..f8dca60 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,4 +27,4 @@ jobs: with: repository: DiegoFernandesQA/helper-qa token: ${{ secrets.GITHUB_TOKEN }} - path: main + ref: main From 0c701ae09dd2d55a073e3b86b7406f19c939c141 Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 15:26:59 -0300 Subject: [PATCH 08/12] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8dca60..3c13358 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,4 +27,4 @@ jobs: with: repository: DiegoFernandesQA/helper-qa token: ${{ secrets.GITHUB_TOKEN }} - ref: main + path: main From 2a4e2574e7a8b8495cfb9f40ccd2b31eee437871 Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 15:37:21 -0300 Subject: [PATCH 09/12] Update main.yml --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c13358..59c4795 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,4 +27,5 @@ jobs: with: repository: DiegoFernandesQA/helper-qa token: ${{ secrets.GITHUB_TOKEN }} - path: main + ref: main + run: sudo apt install From 42338e89c97a829eacb4bac8cdd6e5c73d8d3fd9 Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 15:50:29 -0300 Subject: [PATCH 10/12] Update main.yml --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 59c4795..0ee5ac2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,5 @@ jobs: - name: Checkout private tools uses: actions/checkout@v2 with: - repository: DiegoFernandesQA/helper-qa - token: ${{ secrets.GITHUB_TOKEN }} - ref: main - run: sudo apt install + repository: DiegoFernandesQA/Cypress +# token: ${{ secrets.GITHUB_TOKEN }} From d253837c4a1b2430e29c9ae3a7dfe222fe8f62e1 Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 15:52:55 -0300 Subject: [PATCH 11/12] Update main.yml --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0ee5ac2..86ffbf8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,4 +26,7 @@ jobs: uses: actions/checkout@v2 with: repository: DiegoFernandesQA/Cypress + + - name: Install dependencies + run: npm install # token: ${{ secrets.GITHUB_TOKEN }} From cc7b51056ef400ef207567dc6211df7d42a08793 Mon Sep 17 00:00:00 2001 From: Diego Fernandes <68125270+DiegoFernandesQA@users.noreply.github.com> Date: Tue, 14 Sep 2021 15:55:39 -0300 Subject: [PATCH 12/12] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86ffbf8..7b7b844 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,3 +30,5 @@ jobs: - name: Install dependencies run: npm install # token: ${{ secrets.GITHUB_TOKEN }} + - name: Executar testes + run: npm run cy:run