From 6465424c96dd8426cfca7c82d1d8fadbc24ba8d5 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov <zharinov@users.noreply.github.com>
Date: Thu, 8 Jun 2023 23:09:44 +0300
Subject: [PATCH] ci: Split `test-e2e` command (#22640)

---
 package.json | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 6c9aec5cbb..3892c822e5 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,10 @@
     "start": "ts-node lib/renovate.ts",
     "test": "run-s lint test-schema jest",
     "test-dirty": "git diff --exit-code",
-    "test-e2e": "yarn pack && cd test/e2e && yarn install --no-lockfile --ignore-optional --prod && yarn test",
+    "test-e2e": "run-s test-e2e:*",
+    "test-e2e:pack": "yarn pack",
+    "test-e2e:install": "yarn --cwd test/e2e install --no-lockfile --ignore-optional --prod",
+    "test-e2e:run": "yarn --cwd test/e2e test",
     "test-schema": "run-s create-json-schema",
     "tsc": "tsc",
     "type-check": "run-s generate:* \"tsc --noEmit {@}\" --",
-- 
GitLab