Skip to content

Bhomesh/github-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Github Workflows

Production Workflow Staging Workflow ESLint Workflow testing a workflow temp workflow

A modern CI/CD pipeline demonstration using GitHub Actions

Getting StartedWorkflowsContributingLicense

📋 About

This project showcases the power of GitHub Actions for continuous integration and deployment. It features:

  • 🧹 ESLint checks for code quality
  • 🌐 Frontend testing to ensure website functionality
  • 🔍 Staging workflow for non-main branch testing
  • 🚀 Production workflow for main branch deployment
  • 🔄 Hourly README updates

🚀 Workflows

ESLint Workflow

Click to expand

Runs on all branches and pull requests:

  1. 🧹 Performs ESLint checks on the codebase

Staging Workflow

Click to expand

Runs on all branches except main, after ESLint success:

  1. 🌐 Tests frontend functionality
  2. 📢 Notifies on successful test completion

Production Workflow

Click to expand

Runs on the main branch, after ESLint success:

  1. 🌐 Tests frontend functionality
  2. 🚀 Deploys to production if all tests pass

README Update Workflow

Click to expand

Runs every hour:

  1. 🔄 Updates the README with the latest information
  2. 📝 Commits and pushes changes if any were made

🏁 Getting Started

  1. Clone the repository git clone https://github.com/Bhomesh/github-workflow.git
  2. Install dependencies npm install
  3. Run ESLint npm run lint
  4. Start the frontend server npm start

🤝 Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.


Made with ❤️ by Bhomesh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published