{"id":24818625,"url":"https://github.com/arshadakl/ci-cd-pipeline","last_synced_at":"2025-09-11T05:37:30.193Z","repository":{"id":242400562,"uuid":"809450305","full_name":"arshadakl/CI-CD-pipeline","owner":"arshadakl","description":"Automate the Continuous Integration (CI) process","archived":false,"fork":false,"pushed_at":"2024-06-02T18:35:33.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T19:43:38.501Z","etag":null,"topics":["automation","cicd-pipeline","devops"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arshadakl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-02T18:09:46.000Z","updated_at":"2024-06-02T18:39:00.000Z","dependencies_parsed_at":"2024-06-02T20:00:37.875Z","dependency_job_id":"ef4d605d-f039-493b-8f0f-bcdf62f81978","html_url":"https://github.com/arshadakl/CI-CD-pipeline","commit_stats":null,"previous_names":["arshadakl/ci-cd-pipeline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arshadakl/CI-CD-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadakl%2FCI-CD-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadakl%2FCI-CD-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadakl%2FCI-CD-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadakl%2FCI-CD-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arshadakl","download_url":"https://codeload.github.com/arshadakl/CI-CD-pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadakl%2FCI-CD-pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274583707,"owners_count":25311897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cicd-pipeline","devops"],"created_at":"2025-01-30T17:09:11.599Z","updated_at":"2025-09-11T05:37:30.180Z","avatar_url":"https://github.com/arshadakl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## CI/CD Pipeline Setup with GitHub Actions\n\nThis repository uses GitHub Actions to automate the Continuous Integration (CI) process. Below are the steps to set up the CI workflow.\n\n### Steps to Set Up CI with GitHub Actions\n\n1. **Create the GitHub Actions Workflow Directory**\n\n   In your repository, create a directory structure for GitHub Actions workflows:\n\n   ```bash\n   mkdir -p .github/workflows\n   ```\n\n2. **Create the CI Workflow File**\n\n   Inside the `.github/workflows` directory, create a YAML file named `ci.yml`.\n\n   ```bash\n   touch .github/workflows/ci.yml\n   ```\n\n3. **Define the Workflow**\n\n   Add the following content to the `ci.yml` file:\n\n   ```yaml\n   name: CI for Security Tracker\n\n   on:\n     push:\n       branches: [ main ]\n     pull_request:\n       branches: [ main ]\n\n   jobs:\n     build:\n       runs-on: ubuntu-latest\n\n       steps:\n       - name: Checkout code\n         uses: actions/checkout@v2\n\n       - name: Set up Node.js\n         uses: actions/setup-node@v2\n         with:\n           node-version: 'lts/*'\n\n       - name: Install dependencies\n         run: npm install\n\n       - name: Run app.js\n         run: node app.js\n   ```\n\n4. **Stage, Commit, and Push Changes**\n\n   Stage, commit, and push your changes to the `main` branch:\n\n   ```bash\n   git add .github/workflows/ci.yml\n   git commit -m \"Add CI workflow with latest Node.js LTS\"\n   git push origin main\n   ```\n\n5. **Verify the Workflow**\n\n   - Go to your repository on GitHub.\n   - Click on the `Actions` tab to see the workflow running.\n\n### Workflow Explanation\n\n- **name**: The name of the workflow.\n- **on**: Specifies the events that trigger the workflow. It runs on pushes and pull requests to the `main` branch.\n- **jobs**: Defines the jobs to be run.\n- **runs-on**: Specifies the type of machine to run the job on (e.g., `ubuntu-latest`).\n- **steps**: The series of steps to be executed in the job:\n  - **Checkout code**: Uses `actions/checkout@v2` to check out your repository's code.\n  - **Set up Node.js**: Uses `actions/setup-node@v2` to set up a Node.js environment with the latest LTS version.\n  - **Install dependencies**: Runs `npm install` to install npm dependencies.\n  - **Run app.js**: Runs your `app.js` file with the `node app.js` command.\n\n### Additional Information\n\n- For more details on GitHub Actions, refer to the [GitHub Actions Documentation](https://docs.github.com/en/actions).\n- If you encounter any issues, ensure your YAML syntax is correct and check the GitHub Actions tab for detailed logs and errors.\n\nBy following these steps, you will set up a GitHub Actions workflow that uses the latest LTS version of Node.js, installs necessary npm modules, and runs your `app.js` file on each push or pull request to the `main` branch.\n\n\n- [linkedin](https://www.linkedin.com/in/arshad-akl//)\n- [GitHub](https://github.com/arshadakl)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshadakl%2Fci-cd-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farshadakl%2Fci-cd-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshadakl%2Fci-cd-pipeline/lists"}