From 577267eca2b79be5dd645baee63dfc694e320dfe Mon Sep 17 00:00:00 2001 From: tuliomir Date: Wed, 27 Nov 2024 20:30:04 -0300 Subject: [PATCH] chore: reactivates e2e workflow --- .github/workflows/e2e.yml | 40 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 3967b9c0..670e3b57 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,37 +1,37 @@ name: End-to-end tests -# on: -# push: -# branches: -# - master -# - release-candidate -# - release -# tags: -# - v* -# pull_request: -# branches: -# - master -# - release-candidate -# - release +on: + push: + branches: + - master + - release-candidate + - release + tags: + - v* + pull_request: + branches: + - master + - release-candidate + - release jobs: cypress-run: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: node-version: [20.x, 22.x] steps: - name: Checkout - # https://github.com/actions/checkout/releases/tag/v4.1.7 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + # https://github.com/actions/checkout/releases/tag/v4.2.2 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup nodejs - # https://github.com/actions/setup-node/releases/tag/v4.0.3 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + # https://github.com/actions/setup-node/releases/tag/v4.1.0 + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: ${{ matrix.node-version }} # Install NPM dependencies, cache them correctly # and run all Cypress tests - name: Cypress run - # https://github.com/cypress-io/github-action/releases/tag/v6.5.0 - uses: cypress-io/github-action@59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2 + # https://github.com/cypress-io/github-action/releases/tag/v6.7.7 + uses: cypress-io/github-action@f1f0912d392f0d06bdd01fb9ebe3b3299e5806fb with: start: npm start wait-on: 'http://localhost:3000'