Skip to content

Conversation

@zahraa-sharifeh
Copy link

Lab Report: CI/CD Pipeline Implementation

What I Implemented:

  • Created a GitHub Actions workflow file (ci-cd.yml) with CI and CD jobs
  • CI job triggers on push and pull requests, running tests, linting, and building
  • CD job deploys to GitHub Pages only on successful pushes to main branch
  • Uploaded build logs and demo site as artifacts

Key Features:

  • Automated testing on every code change
  • Code quality checks (ESLint and Prettier)
  • Conditional deployment to production
  • Artifact management for debugging

Learning Outcomes:

  • Understanding GitHub Actions YAML syntax
  • Implementing job dependencies with needs: ci
  • Using conditional execution with if: statements
  • Configuring automated deployment to GitHub Pages

The pipeline successfully runs tests, checks code quality, builds the project,
and deploys the demo site automatically when all checks pass.

@zahraa-sharifeh zahraa-sharifeh changed the title Implement CI/CD pipeline with GitHub Actions Zahraa Sharifeh 106207 Dec 24, 2025
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.

1 participant