diff --git a/.github/workflows/e2e-svelte-kit-workflow.yml b/.github/workflows/e2e-svelte-kit-workflow.yml index f36049f5e99..be6efcf7d74 100644 --- a/.github/workflows/e2e-svelte-kit-workflow.yml +++ b/.github/workflows/e2e-svelte-kit-workflow.yml @@ -24,6 +24,29 @@ jobs: - name: 'Running the integration test' run: | source scripts/e2e-setup-ci.sh - yes | yarn create svelte@next my-app && cd my-app + + yarn init -p + yarn add -D create-svelte@latest + + yarn node -e "import('create-svelte').then(({create}) => create('my-app', {name:'my-app', template:'default', types:null}))" + cd my-app + touch yarn.lock + + yarn + yarn build + + - name: 'Running the TypeScript integration test' + run: | + source scripts/e2e-setup-ci.sh + + yarn init -p + yarn add -D create-svelte@latest + + yarn node -e "import('create-svelte').then(({create}) => create('my-app', {name:'my-app', template:'default', types:'typescript'}))" + cd my-app + touch yarn.lock + yarn yarn build + if: | + success() || failure()