Skip to content

Conversation

uozopio
Copy link
Contributor

@uozopio uozopio commented Jun 26, 2025

Summary

This PR adds a new utility function and ensures complete test coverage across all packages to test the release pipeline end-to-end.

Changes

Features

  • ✨ Added formatDate utility function to core package for consistent date formatting
  • 📝 Added comprehensive test coverage for the new function

Fixes

  • ✅ Added missing test files for all packages (auth, database, cms)
  • ✅ Added missing test files for all apps (api, web, app)
  • 🐛 Fixed TypeScript compilation errors in test files
  • 🚀 Ensured all tests pass successfully

Purpose

This PR is created to test the complete release pipeline workflow:

  1. Feature branch → develop (this PR)
  2. develop → staging (via release branch)
  3. staging → main
  4. Automated release via GitHub Actions

Test Results

All tests are passing:

  • ✅ Core package: 5 tests
  • ✅ Auth package: 3 tests
  • ✅ Database package: 3 tests
  • ✅ CMS package: 3 tests
  • ✅ API app: 2 tests
  • ✅ Web app: 2 tests
  • ✅ App: 2 tests

Next Steps

After this PR is merged, we will:

  1. Create a release branch
  2. Follow the git flow process through staging to main
  3. Monitor the automated release workflow

Related to release pipeline testing as per .clinerules

Umutcan ÖNER added 4 commits June 26, 2025 13:53
…tting

- Implement formatDate function that accepts string or Date object
- Returns ISO formatted date string
- Includes comprehensive tests for the new function
- Validates input and throws error for invalid dates
- Add missing test files for auth and database packages
- Fix test runner failures by ensuring all packages have test coverage
- Update test implementation to match actual module exports
- Add test files for cms, api, web, and app packages
- Ensure all packages have at least minimal test coverage
- Fix test runner failures across the monorepo
- Remove unused Content type import from cms test file
- Fix TypeScript compilation error in build process
Copy link

github-actions bot commented Jun 26, 2025

✅ PR Size Check Passed

This PR changes 188 lines across 8 files.

@uozopio uozopio requested a review from adminzopio June 26, 2025 11:04
@uozopio uozopio merged commit 42d9a81 into develop Jun 26, 2025
18 checks passed
@uozopio uozopio mentioned this pull request Jun 26, 2025
@uozopio uozopio deleted the feat/release-pipeline-test branch June 26, 2025 11:31
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