From ce2a8f92a875fadb7ae73dcdbcf0d20c79a4ed74 Mon Sep 17 00:00:00 2001 From: Florian Necas Date: Fri, 20 Oct 2023 11:44:15 +0200 Subject: [PATCH] feat: prepare for PR --- .github/workflows/checks.yml | 1 + .github/workflows/e2e.yml | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f9bc91c370..6090d16a73 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -11,6 +11,7 @@ on: push: branches: - main + - develop pull_request: types: [opened, synchronize, ready_for_review] diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 73d8f23980..f775d50ec9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,5 +1,11 @@ name: End-to-end tests -on: push +on: + push: + branches: + - main + - develop + pull_request: + types: [opened, synchronize, ready_for_review] env: # a list of apps to build and publish on releases @@ -15,10 +21,9 @@ jobs: - name: Build the backend run: sudo docker-compose -f support-services/docker-compose.yml up -d init - - name: install dependencies and verify Cypress + - name: install dependencies run: | npm ci - - name: Cypress tests + - name: E2E tests run: npx nx run-many --projects=${{ env.APP_NAMES }} --target=e2e -