🔧 Fixed Build Problems: - Add proper Node.js setup with npm caching - Use working-directory for client build step - Add client build verification with error handling - Simplified workflow removing complex artifact generation - Better error messages and build status reporting 🔄 Node.js Version Handling: - Set explicit Node.js 18 setup - Removed deprecated Node.js 24 environment variable - Added proper npm cache configuration - Cache both client and server package-lock.json files ✅ Build Process: 1. Checkout repository 2. Set up Node.js 18 with npm caching 3. Build React client with npm ci + npm run build 4. Verify client build succeeded 5. Build multi-platform Docker image 6. Push to GitHub Container Registry This should resolve the npm build command not found error and Node.js deprecation warnings. |
||
|---|---|---|
| .. | ||
| workflows | ||
| copilot-instructions.md | ||