From d2140396203ed79efe30312e37fe517d3a5eccd5 Mon Sep 17 00:00:00 2001 From: Nikita Belonogov Date: Thu, 11 Apr 2024 14:12:09 +0400 Subject: [PATCH] ci: PLT-313: Add yarn e2e test output atrifact --- .github/workflows/cicd_pipeline.yml | 4 ++-- .github/workflows/tests-yarn-e2e.yml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd_pipeline.yml b/.github/workflows/cicd_pipeline.yml index cd5f5ea21f95..90e79eea5ab9 100644 --- a/.github/workflows/cicd_pipeline.yml +++ b/.github/workflows/cicd_pipeline.yml @@ -426,7 +426,7 @@ jobs: name: "Tests" needs: - changed_files - if: needs.changed_files.outputs.frontend == 'true' && github.ref_name == 'develop' + if: needs.changed_files.outputs.frontend == 'true' uses: ./.github/workflows/tests-yarn-integration.yml with: head_sha: ${{ github.event.pull_request.head.sha || github.event.after }} @@ -436,7 +436,7 @@ jobs: name: "Tests" needs: - changed_files - if: needs.changed_files.outputs.frontend == 'true' && github.ref_name == 'develop' + if: needs.changed_files.outputs.frontend == 'true' uses: ./.github/workflows/tests-yarn-e2e.yml with: head_sha: ${{ github.event.pull_request.head.sha || github.event.after }} diff --git a/.github/workflows/tests-yarn-e2e.yml b/.github/workflows/tests-yarn-e2e.yml index 21993feaa475..5b8ae4a8d540 100644 --- a/.github/workflows/tests-yarn-e2e.yml +++ b/.github/workflows/tests-yarn-e2e.yml @@ -70,6 +70,12 @@ jobs: run: | yarn test:e2e + - uses: actions/upload-artifact@v4 + if: always() + with: + name: e2e output + path: "web/libs/editor/tests/e2e/output" + - name: Kill LSO server if: always() continue-on-error: true