Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 2.3 KB

README.md

File metadata and controls

74 lines (49 loc) · 2.3 KB

Personal Website 👨🏻‍💻

Playwright E2E-Tests Vitest E2E + Component + Unit Tests Lint Netlify Status

This is the code for my website! You can see it live here!


PAGESPEED

Dark Theme Light Theme
screenshot dark screenshot

Developing 🛠

After you've cloned/forked/whatever the repo, you can do this:

# install dependencies
npm run install

# start dev server http://localhost:3000/
npm run dev

Tests 🧪

All tests run on github actions, everytime a PR gets opened.

Component Tests

Run Component tests in the project root:

# run in watch mode
npm run test

# with coverage
npm run test:coverage

E2E Tests

To run playwright locally, your dev server needs to be running (npm run dev in a second terminal).

# so the tests run against localhost:3000
npm run dev

# run playwright tests
npm run test:e2e

Lint

I use antfu's config to lint all the code in this repo. Follow the instructions for editor support!

# lint project
npm run lint

# with automatic fixes
npm run lint:fix

Contributions 🥁

Feel free to submit PRs or issues 👋