feat: Add CI/CD pipeline and code quality improvements

- Add GitHub Actions workflow for automated CI/CD
- Configure Node.js 18.x and 20.x matrix testing
- Add TypeScript type checking step
- Add ESLint code quality checks with enhanced rules
- Add Prettier formatting verification
- Add production build validation
- Upload build artifacts for deployment
- Set up automated testing on push/PR
- Replace console.log with environment-aware logger
- Add pre-commit hooks for code quality
- Exclude archive folder from linting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
hansoo
2025-07-12 15:27:54 +09:00
parent 6a208d6b06
commit 9851627ff1
411 changed files with 14458 additions and 8680 deletions

View File

@@ -1,4 +1,4 @@
import { defineConfig } from 'vite';
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
import { componentTagger } from "lovable-tagger";
@@ -9,11 +9,9 @@ export default defineConfig(({ mode }) => ({
host: "0.0.0.0",
port: 3000,
},
plugins: [
react(),
mode === 'development' &&
componentTagger(),
].filter(Boolean),
plugins: [react(), mode === "development" && componentTagger()].filter(
Boolean
),
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),