Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukegtester/ci.cd-gh.actions-practice
Repository created in purpose of practise CI/CD skills using GH actions
https://github.com/lukegtester/ci.cd-gh.actions-practice
cicd github-actions
Last synced: 23 days ago
JSON representation
Repository created in purpose of practise CI/CD skills using GH actions
- Host: GitHub
- URL: https://github.com/lukegtester/ci.cd-gh.actions-practice
- Owner: LukegTester
- Created: 2024-10-21T07:05:51.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T19:49:04.000Z (about 1 month ago)
- Last Synced: 2024-11-12T20:31:56.352Z (about 1 month ago)
- Topics: cicd, github-actions
- Language: TypeScript
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Actions CI/CD Practice Repository
This repository contains various GitHub Actions workflows to practice Continuous Integration (CI) techniques. Each workflow showcases different triggers, strategies, and setups commonly used in CI/CD pipelines.
## Workflows Overview
1. **Playwright Tests - Simple Sharding** (`sharding.yml`):
- Runs Playwright tests in parallel using sharding.
- Merges reports into an HTML report, available in GitHub Actions Artifacts.2. **API Triggered Workflow** (`api-workflow.yml`):
- Triggered by API call or manual dispatch.
- Contains two jobs: `run-tests` and `final-job`, showcasing job dependencies.3. **Manual Trigger Workflow** (`manual-triger.yml`):
- Runs jobs triggered by manual dispatch.4. **Master Branch Workflow** (`master-workflow.yml`):
- Triggers automatically on pushes to the `main` branch.5. **Matrix Strategy Workflow** (`matrix.yml`):
- Runs Playwright tests across multiple Node.js versions with matrix strategy for compatibility checks.6. **Scheduled Workflow** (`sheduler-cron.yml`):
- Executes at regular intervals using cron, supporting routine testing.7. **Simple Jobs Workflow** (`simple-jobs.yml`):
- Demonstrates sequential job dependencies.## Requirements
- Node.js and Git (for local setup and testing).## Usage
- **Triggering Workflows**: Trigger workflows manually, via API, on branch push, or by schedule.
- **Viewing Reports**: Find test reports and logs in the GitHub Actions Artifacts section.Each workflow highlights different CI/CD practices to automate testing and ensure code quality. See `.github/workflows` for full configurations and further details.