#!/bin/bash # BAM Test Repository Build and Test Script # Repository: bam/test-repo # Branch: main # Latest commit: Fix echo "๐Ÿš€ BAM Test Repository - Build and Test Process" echo "================================================" echo "Repository: bam/test-repo" echo "Branch: main" echo "Latest commit: Fix" echo "" # Step 1: Show project structure echo "๐Ÿ“ Project Structure:" echo "====================" ls -la /home/bam/ echo "" # Step 2: Initialize git repository echo "๐Ÿ”ง Initializing Git Repository:" echo "================================" cd /home/bam git init git branch -M main git add . git commit -m "Fix" echo "โœ… Git repository initialized successfully" echo "" # Step 3: Show project files echo "๐Ÿ“‹ Project Files Created:" echo "=========================" echo "- package.json (Node.js project configuration)" echo "- index.js (Main application entry point)" echo "- test.js (Test suite)" echo "- README.md (Project documentation)" echo "- build-and-test.js (Build orchestration script)" echo "" # Step 4: Run build process echo "๐Ÿ”จ Building Project:" echo "====================" npm run build echo "" # Step 5: Run tests echo "๐Ÿงช Running Tests:" echo "================" npm test echo "" # Step 6: Show git information echo "๐Ÿ“œ Git Information:" echo "==================" echo "Current branch:" git branch echo "" echo "Recent commits:" git log --oneline -3 echo "" echo "Git status:" git status echo "" echo "๐ŸŽ‰ Build and Test Process Completed!" echo "โœ… Repository: bam/test-repo on branch main" echo "โœ… Latest commit: Fix" echo "โœ… Build completed successfully" echo "โœ… All tests passed"