Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI/CD for GitHub Actions #2

Merged
merged 1 commit into from
Sep 22, 2024
Merged

Conversation

hootanht
Copy link
Contributor

Add CI/CD pipeline configuration using GitHub Actions and update documentation.

  • Add GitHub Actions Workflow:

    • Create .github/workflows/ci-cd.yml file.
    • Define jobs for build, test, and deploy.
    • Use actions/checkout@v2 to checkout the repository.
    • Use node:14 for the Node.js environment.
    • Run npm install, npm run build, npm test, and npm run deploy commands.
  • Update package.json:

    • Add scripts section for CI/CD processes.
    • Include build, test, and deploy scripts.
  • Update README.md:

    • Add a new section detailing the CI/CD process.
    • Explain the steps involved in the GitHub Actions workflow.
    • Provide instructions for running CI/CD processes locally.

Add CI/CD pipeline configuration using GitHub Actions and update documentation.

* **Add GitHub Actions Workflow:**
  - Create `.github/workflows/ci-cd.yml` file.
  - Define jobs for build, test, and deploy.
  - Use `actions/checkout@v2` to checkout the repository.
  - Use `node:14` for the Node.js environment.
  - Run `npm install`, `npm run build`, `npm test`, and `npm run deploy` commands.

* **Update `package.json`:**
  - Add `scripts` section for CI/CD processes.
  - Include `build`, `test`, and `deploy` scripts.

* **Update `README.md`:**
  - Add a new section detailing the CI/CD process.
  - Explain the steps involved in the GitHub Actions workflow.
  - Provide instructions for running CI/CD processes locally.
Copy link
Owner

@Ali-Sdg90 Ali-Sdg90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks man :)

@Ali-Sdg90 Ali-Sdg90 merged commit 355c790 into Ali-Sdg90:main Sep 22, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants