{"id":15099326,"url":"https://github.com/mikailakar/ci-cd-angular","last_synced_at":"2026-01-06T12:53:40.451Z","repository":{"id":256452392,"uuid":"855311386","full_name":"mikailakar/ci-cd-angular","owner":"mikailakar","description":"This project demonstrates Continuous Integration and Continuous Deployment (CI/CD) for an Angular application. It includes GitHub Actions for automated testing and deployment to Vercel.","archived":false,"fork":false,"pushed_at":"2024-09-11T14:01:32.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T18:15:37.827Z","etag":null,"topics":["actions","angular","cicd","vercel","worflow"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/mikailakar.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-09-10T16:59:10.000Z","updated_at":"2024-09-11T14:09:26.000Z","dependencies_parsed_at":"2024-09-15T17:08:11.011Z","dependency_job_id":null,"html_url":"https://github.com/mikailakar/ci-cd-angular","commit_stats":null,"previous_names":["mikailakar/ci-cd-angular"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikailakar%2Fci-cd-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikailakar%2Fci-cd-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikailakar%2Fci-cd-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikailakar%2Fci-cd-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikailakar","download_url":"https://codeload.github.com/mikailakar/ci-cd-angular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858880,"owners_count":20684057,"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","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":["actions","angular","cicd","vercel","worflow"],"created_at":"2024-09-25T17:10:25.141Z","updated_at":"2026-01-06T12:53:40.404Z","avatar_url":"https://github.com/mikailakar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CI/CD Angular Project\n\nThis project demonstrates Continuous Integration and Continuous Deployment (CI/CD) for an Angular application. It includes GitHub Actions for automated testing and deployment to Vercel.\n\n## Overview\n\n- **Branch `new-feature`**: Add new features to the Angular application.\n- **GitHub Workflow**: Set up for automated testing and deployment.\n- **Deployment**: The application is deployed to Vercel.\n\n## Features\n\n- **New Feature**: Implemented and tested in the `new-feature` branch.\n- **GitHub Actions**: Automated CI/CD pipeline for building, testing, and deploying the application.\n- **Deployment**: Continuous deployment to Vercel.\n\n## GitHub Workflows\n\n### Preview Deployment\n\nThe workflow defined in `.github/workflows/preview.yaml` handles preview deployments for non-main branches. It includes:\n\n1. **Test**:\n   - Runs on: `ubuntu-latest`\n   - **Checkout**: Uses `actions/checkout@v3` to fetch the repository.\n   - **Setup Node.js**: Uses `actions/setup-node@v3` with Node.js version 18.\n   - **Install Dependencies**: Runs `npm ci`.\n   - **Run Tests**: Executes `npm run test:prod`.\n\n2. **Deploy-Preview**:\n   - Depends on: `Test`\n   - Runs on: `ubuntu-latest`\n   - **Checkout**: Uses `actions/checkout@v3` to fetch the repository.\n   - **Install Vercel CLI**: Installs Vercel CLI globally.\n   - **Pull Vercel Environment Information**: Uses `vercel pull` with the preview environment.\n   - **Build Project Artifacts**: Uses `vercel build` to build the project.\n   - **Deploy Project Artifacts**: Uses `vercel deploy` to deploy the built project.\n\n### Production Deployment\n\nThe workflow defined in `.github/workflows/production.yaml` handles production deployments for the `main` branch. It includes:\n\n1. **Deploy-Production**:\n   - Runs on: `ubuntu-latest`\n   - **Checkout**: Uses `actions/checkout@v3` to fetch the repository.\n   - **Install Vercel CLI**: Installs Vercel CLI globally.\n   - **Pull Vercel Environment Information**: Uses `vercel pull` with the production environment.\n   - **Build Project Artifacts**: Uses `vercel build` with the `--prod` flag.\n   - **Deploy Project Artifacts**: Uses `vercel deploy` with the `--prod` flag to deploy the project.\n\n## Deployment\n\nThe application is automatically deployed to Vercel:\n\n- **Preview Deployments**: Triggered for branches other than `main`.\n- **Production Deployments**: Triggered for the `main` branch.\n\nYou can view the live application [here](https://ci-cd-angular.vercel.app).\n\n## Branches\n\n- **`main`**: The main branch with the latest stable code.\n- **`new-feature`**: Contains the new feature implementation. Merged into the `main` branch after successful testing.\n\n## Testing\n\nTests are automatically run as part of the CI/CD pipeline. Ensure all tests pass before merging changes to the `main` branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikailakar%2Fci-cd-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikailakar%2Fci-cd-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikailakar%2Fci-cd-angular/lists"}