From 73d0aff589bfac77940c10c2bfdd72708b12c7d0 Mon Sep 17 00:00:00 2001 From: Carly Richmond <74931905+carlyrichmond@users.noreply.github.com> Date: Mon, 21 Oct 2024 12:10:08 +0100 Subject: [PATCH] Revert test command --- .github/workflows/pr-build-test-synthetics-replicator.yml | 2 +- .github/workflows/push-build-test-synthetics-replicator.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-build-test-synthetics-replicator.yml b/.github/workflows/pr-build-test-synthetics-replicator.yml index 3a4cb20..56447b9 100644 --- a/.github/workflows/pr-build-test-synthetics-replicator.yml +++ b/.github/workflows/pr-build-test-synthetics-replicator.yml @@ -17,7 +17,7 @@ jobs: node-version: 20 - run: npm install - run: npm start & - - run: "npm install @elastic/synthetics && npm run test --reporter=junit" + - run: "npm install @elastic/synthetics && npx @elastic/synthetics . --reporter=junit" working-directory: ./apps/synthetics-replicator-tests/journeys - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v2 diff --git a/.github/workflows/push-build-test-synthetics-replicator.yml b/.github/workflows/push-build-test-synthetics-replicator.yml index 74e48c9..336810b 100644 --- a/.github/workflows/push-build-test-synthetics-replicator.yml +++ b/.github/workflows/push-build-test-synthetics-replicator.yml @@ -17,7 +17,7 @@ jobs: node-version: 20 - run: npm ci - run: npm start & - - run: "npm install @elastic/synthetics && npm run test --reporter=junit" + - run: "npm install @elastic/synthetics && npx @elastic/synthetics . --reporter=junit" working-directory: ./apps/synthetics-replicator-tests/journeys - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v2