From f5b8cfd779b3c2e13f81946c98402ba75ecb97da Mon Sep 17 00:00:00 2001 From: Fernando Jose Gonzalez Sierra Date: Tue, 30 Apr 2024 13:28:35 +0200 Subject: [PATCH] Arreglando e2e --- .github/workflows/build.yml | 2 +- webapp/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26cb96a..124a109 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - run: npm --prefix gatewayservice test -- --coverage - run: npm --prefix questionservice test -- --coverage - run: npm --prefix webapp test -- --coverage - - run: npm --prefix webapp test:e2e + - run: npm --prefix webapp run test:e2e - name: Analyze with SonarCloud uses: sonarsource/sonarcloud-github-action@master env: diff --git a/webapp/package.json b/webapp/package.json index 03f50a0..f33d830 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -29,7 +29,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "CI=false && react-scripts build", "prod": "serve -s build", "test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!axios)/'", "test:e2e": "start-server-and-test 'node e2e/test-environment-setup.js' http://localhost:8000/health prod 3000 \"cd e2e && jest\"",