Skip to content

Commit

Permalink
feat: deploy the sveltekit project on GitHub Pages (#150)
Browse files Browse the repository at this point in the history
Switch from `@sveltejs/adapter-auto` to `@sveltejs/adapter-static` (use
v2 because v3 is for sveltekit v2) to be able to create a SPA. Downgrade
`vite` to v4 because `@sveltejs/adapter-static` doesn't support vite v5

In addition, bump svelte dependencies
  - svelte from 4.2.8 to 4.2.18
  - svelte-check to 3.8.5
- @sveltejs/kit from 1.28.0 to 1.30.4 (migration to v2 will be done
later)
  • Loading branch information
tbouffard committed Aug 19, 2024
1 parent 306031a commit 18ab3a0
Show file tree
Hide file tree
Showing 4 changed files with 655 additions and 200 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-typescript-projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
with:
script: |
const {PROJECTS_PATH} = process.env;
const projectsListing = PROJECTS_PATH.split(' ').filter(name => name.trim() !== '').map(name => `<li><a href="${name}/index.html" target="_blank">${name}</a></li>`).join('\n');
const projectsListing = PROJECTS_PATH.split(' ').filter(name => name.trim() !== '').map(name => `<li><a href="${name}/" target="_blank">${name}</a></li>`).join('\n');
let htmlContent = `<!DOCTYPE html>
<html lang="en">
Expand Down
Loading

0 comments on commit 18ab3a0

Please sign in to comment.