My portfolio blog based on Portfolio Starter Kit (source) by Vercel
# Clone the repository
git clone https://github.com/kei9o/nextjs-portfolio-blog.git
cd nextjs-portfolio-blog
# Install dependencies
pnpm install
# Start development server
pnpm run devVisit http://localhost:3002 to see your portfolio blog.
- Node.js 18.0 or higher
- pnpm (recommended package manager)
# Install pnpm if you haven't already npm install -g pnpm
git clone https://github.com/kei9o/nextjs-portfolio-blog.git
cd nextjs-portfolio-blogpnpm installThe development server runs on port 3002 by default. If you need to change this:
# Create a .envrc file
echo "export PORT=3002" > .envrc
# Or set the port directly when running
PORT=3000 pnpm run devpnpm run devOpen http://localhost:3002 in your browser to see the result.
# Create production build
pnpm run build
# Start production server
pnpm run startThe production server will also run on http://localhost:3002.
# Run all tests
pnpm run test
# Run tests in watch mode
pnpm run test:watch
# Run tests with coverage report
pnpm run test:coverage# Check TypeScript types
pnpm run type-check
# Check for linting issues
pnpm run lint
# Auto-fix linting issues
pnpm run lint:fix
# Format code with Prettier
pnpm run format
# Check code formatting
pnpm run format:checkThis project includes automated testing workflows that run on Pull Requests:
- PR Validation: Automatically runs on PR creation/updates
- TypeScript type checking
- ESLint code quality checks
- Code formatting validation
- Unit test execution with coverage reports
- Results posted as PR comments with detailed validation status
- ✅ Automatic validation on PR creation and updates
- ✅ Test coverage reporting with artifacts
- ✅ Status updates posted as PR comments
- ✅ Code quality checks (ESLint, Prettier, TypeScript)
All automated checks must pass before merging PRs. The workflows help ensure:
- Code quality standards are maintained
- All tests pass
- TypeScript compilation succeeds
- Code formatting is consistent