My (empty) portfolio website developed using next and react-md. There's even some "fun" Playwright tests for no reason.
format
- format all files with prettierlint
- run eslint on all typescript and javascript files using @mlaursen/eslint-config- Note: strict eslint rules
typecheck
- runtsc --noEmit
on the project- Note: strict rules enforced
dev
- start the development server with nextbuild
- build the app for productionstart
- run the production buildstart-static
- run the production build using serve
pnpm i
# optional
pnpm exec playwright install --with-deps
- main - The main workflow that handles
continuous integration and deployment.
- Pull Requests
- Prevent errors by running
pnpm lint
andpnpm typecheck
- Build the website
- Run Playwright end-to-end tests against a local build with Chrome and Firefox
- Prevent errors by running
- New commits/merges into
main
- Prevent errors by running
pnpm lint
andpnpm typecheck
- Build and deploy the website to https://mlaursen.com
- Run Playwright end-to-end tests against the newly deployed code with Chrome and Firefox
- Prevent errors by running
- Pull Requests
- codeql_analysis.yml - check for security issues in code