Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(e2e): fix E2E SvelteKit #6546

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/e2e-svelte-kit-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,26 @@ jobs:
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
yes | yarn create svelte@next my-app && cd my-app

# TODO: Modify if the create-svelte command allows arguments.
yarn init -p
yarn add create-svelte

cat > create-svelte.mjs << EOF
import('create-svelte').then(module => {
module.create('.', {
name: '.',
template: 'default', // or 'skeleton' or 'skeletonlib'
types: 'checkjs', // or 'typescript' or null;
prettier: false,
eslint: false,
playwright: false,
vitest: false
})
})
EOF

yarn node create-svelte.mjs

yarn
yarn build
Loading