Modernise website by migrating to vite

This commit is contained in:
Andras Schmelczer 2026-05-03 17:09:30 +01:00
parent 5f0f500725
commit f350b1ff37
34 changed files with 3184 additions and 21044 deletions

View file

@ -26,11 +26,20 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint -- --check || true
- name: Typecheck
run: npm run typecheck
- name: Build
run: |
npm ci && npm run build
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
@ -38,6 +47,7 @@ jobs:
path: 'dist'
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}