From d319ea561fd0da5a43ecef5fad2ffeac168ad368 Mon Sep 17 00:00:00 2001 From: Nicolas Merget Date: Fri, 17 Jan 2025 11:12:56 +0100 Subject: [PATCH] chore: provide e2e builds on failure --- .github/workflows/checks.yml | 10 +++++++++- e2e/e2e-app/src/homepage.lite.tsx | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e62853e841..808fc04bfc 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -152,4 +152,12 @@ jobs: with: name: playwright-results path: ./e2e/e2e-app/test-results - retention-days: 14 \ No newline at end of file + retention-days: 14 + + - name: 🆙 Upload e2e builds + if: failure() + uses: actions/upload-artifact@v4 + with: + name: e2e-builds + path: ./e2e/**/dist + retention-days: 14 diff --git a/e2e/e2e-app/src/homepage.lite.tsx b/e2e/e2e-app/src/homepage.lite.tsx index 5550027eed..7f6939aa4f 100644 --- a/e2e/e2e-app/src/homepage.lite.tsx +++ b/e2e/e2e-app/src/homepage.lite.tsx @@ -1,13 +1,13 @@ import { For, onMount, Show, useStore } from '@builder.io/mitosis'; import { COMPONENT_PATHS } from './component-paths'; import ComponentWithTypes from './components/component-with-types.lite'; +import DefaultProps from './components/default-props/use-default-props.lite'; import DisabledInput from './components/disabled-input/disabled-input.lite'; import NestedParent from './components/nested/nested-parent.lite'; import OneComponent from './components/one-component.lite'; import ShowForComponent from './components/show-for-component.lite'; import SignalParent from './components/signals/signal-parent.lite'; import SpecialTags from './components/special-tags.lite'; -import DefaultProps from './components/default-props/use-default-props.lite'; export default function Homepage(props: { pathname?: string }) { const state = useStore({