From 1c5598d76f44585e9d9d00bb5d0fc3942ebbd46c Mon Sep 17 00:00:00 2001 From: Jan Cizmar Date: Wed, 11 Jan 2023 10:46:32 +0100 Subject: [PATCH] chore: Fix release build --- .github/workflows/release.yml | 6 +----- e2e/package.json | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3fca240e3..eab94bcb90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,11 +54,7 @@ jobs: run: pnpm build:e2e - name: Cypress - run: pnpm --prefix=e2e run start - - - name: Cypress cleanup - if: always() - run: pnpm --prefix=e2e run services:stop + run: pnpm run e2e run --headed ${{matrix.app}} --stdout prod,dev - name: Recreate release with push run: | diff --git a/e2e/package.json b/e2e/package.json index 0410093efc..5556a7ee8c 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -4,14 +4,10 @@ "private": true, "description": "e2e tests for tolgee server & webapp", "scripts": { - "start": "npm run services:start && npm run download-extension && npm run services:wait-for-start && npm run cy:run", "cy:run": "cypress run", "cy:open": "cypress open --browser chrome", "cy:folders-json": "node scripts/listTests.js", - "download-extension": "sh scripts/downloadTolgeeExtension.sh", - "services:start": "sh scripts/startServices.sh", - "services:wait-for-start": "node scripts/waitForServices.js", - "services:stop": "docker compose stop; docker compose rm -f -v" + "download-extension": "sh scripts/downloadTolgeeExtension.sh" }, "author": "Jan Cizmar", "license": "BSD",