Skip to content

Commit

Permalink
ci(e2e): fix E2E SvelteKit
Browse files Browse the repository at this point in the history
  • Loading branch information
John Doe committed Oct 6, 2024
1 parent 29b7fef commit 9318a10
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/e2e-svelte-kit-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,25 @@ 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

0 comments on commit 9318a10

Please sign in to comment.