Personal site built with React 19, Vite, and styled-components. Hosted on Firebase (with optional GitHub Pages deploy).
npm install
npm start| Command | Description |
|---|---|
npm start / npm run dev |
Vite dev server |
npm run build |
Production build → dist/ |
npm test |
Vitest |
npm run lint |
ESLint |
npm run deploy |
Firebase Hosting |
npm run deploy:gh-pages |
GitHub Pages |
- CI (
.github/workflows/ci.yml): lint, test, build on push/PR - Deploy (
.github/workflows/deploy.yml): Firebase Hosting onmaster/main
Required GitHub secret for deploy: FIREBASE_SERVICE_ACCOUNT (Firebase service account JSON).
Generate it with:
npx firebase-tools login
npx firebase-tools init hosting
# or create a service account in Google Cloud Console and paste the JSON into the secret- React 19 + Vite 8
- styled-components 6
- Locomotive Scroll 4 (smooth scroll + parallax)
- Sass
- Vitest + Testing Library