diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9a507bfc9a..69d08f19d0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -56,6 +56,41 @@ jobs: uses: ./.github/workflows/production-build.yml secrets: inherit + build-without-database: + name: Production build (without database) + needs: [changes] + if: ${{ needs.changes.outputs.has-files-requiring-all-checks == 'true' }} + uses: ./.github/workflows/production-build-without-database.yml + secrets: inherit + + e2e: + name: E2E tests + needs: [changes, lint, build] + if: ${{ needs.changes.outputs.has-files-requiring-all-checks == 'true' }} + uses: ./.github/workflows/e2e.yml + secrets: inherit + + e2e-app-store: + name: E2E App Store tests + needs: [changes, lint, build] + if: ${{ needs.changes.outputs.has-files-requiring-all-checks == 'true' }} + uses: ./.github/workflows/e2e-app-store.yml + secrets: inherit + + e2e-embed: + name: E2E embeds tests + needs: [changes, lint, build] + if: ${{ needs.changes.outputs.has-files-requiring-all-checks == 'true' }} + uses: ./.github/workflows/e2e-embed.yml + secrets: inherit + + e2e-embed-react: + name: E2E React embeds tests + needs: [changes, lint, build] + if: ${{ needs.changes.outputs.has-files-requiring-all-checks == 'true' }} + uses: ./.github/workflows/e2e-embed-react.yml + secrets: inherit + analyze: name: Analyze Build needs: [changes, build] @@ -64,7 +99,7 @@ jobs: secrets: inherit required: - needs: [changes, lint, type-check, test, build] + needs: [changes, lint, type-check, test, build, e2e, e2e-embed, e2e-embed-react, e2e-app-store] if: always() runs-on: buildjet-4vcpu-ubuntu-2204 steps: diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 20749ffac2..1dc28a549a 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -2,9 +2,6 @@ name: Pre-release checks on: workflow_dispatch: - push: - branches: - - main jobs: changes: