Pre-Release Checks
Run this before tagging a new version to ensure everything works.
Checklist
- •
Server Unit Tests
bashcd server && npm test
Expected: All tests pass
- •
Server Linter
bashcd server && npm run lint
Expected: No errors (warnings OK)
- •
Client Unit Tests
bashcd client && npm test
Expected: All tests pass
- •
Client Linter
bashcd client && npm run lint
Expected: No errors (warnings OK)
- •
Integration Tests
bashcd server && npm run test:integration
Expected: All tests pass Note: Requires testEntities.ts to be configured
- •
Client Build
bashcd client && npm run build
Expected: Build succeeds without errors
- •
Docker Build
bashdocker build -f Dockerfile.production -t peek:test .
Expected: Image builds successfully
After All Checks Pass
Report summary:
- •Unit tests: X passed
- •Integration tests: X passed
- •Linter: Clean
- •Build: Success
Ready to proceed with release tagging.