From 0c618e156f108ee394f24c766b6271516fbb2176 Mon Sep 17 00:00:00 2001 From: Davit Date: Mon, 26 Feb 2024 08:25:57 +0400 Subject: [PATCH] . --- .github/workflows/ui-workflow.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ui-workflow.yaml b/.github/workflows/ui-workflow.yaml index 02eaaef8..a7325706 100644 --- a/.github/workflows/ui-workflow.yaml +++ b/.github/workflows/ui-workflow.yaml @@ -53,17 +53,14 @@ jobs: cd test make up - - name: Start Frontend - run: yarn build && GRAPHQL_API=http://0.0.0.0:33000/graphql KEYCLOAK_API=http://0.0.0.0:38088/auth yarn start - - - name: Wait for frontend to be ready - run: npx wait-on "http://localhost:3000" - - name: Run Cypress Tests + uses: cypress-io/github-action@v6 with: config-file: ./cypress/cypress.config.ts - run: yarn cypress:runAll - + auto-cancel-after-failures: 1 + build: yarn build && GRAPHQL_API=http://0.0.0.0:33000/graphql KEYCLOAK_API=http://0.0.0.0:38088/auth yarn start + command: yarn cypress:runAll + - name: Stop Docker containers run: | cd test