Set up CI/CD pipelines for Customer.io integrations with automated testing, smoke tests, and deployment workflows for GitHub Actions and GitLab CI.
Set up unit tests, integration tests, and smoke tests with separate test workspaces. Include coverage reporting and test user cleanup.
Create reusable test helpers for client creation, test user ID generation, and cleanup functions.
Test identify, track, and error handling with vitest. Use unique test user IDs and clean up in afterAll hooks.
Set up equivalent stages for unit tests, integration tests, and deployment with environment-specific variables.
Add linting and type-checking hooks that run on Customer.io integration files before commit.
Create environment validation scripts that verify credentials are available before tests run.
For detailed implementation code and configurations, load the reference guide:
Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)
| Issue | Solution |
|---|---|
| Secrets not available | Check CI environment secrets config |
| Test user pollution | Use unique IDs and cleanup in afterAll |
| Rate limiting in CI | Add delays between test batches |
After CI setup, proceed to customerio-deploy-pipeline for production deployment.
Basic usage: Apply customerio ci integration to a standard project setup with default configuration options.
Advanced scenario: Customize customerio ci integration for production environments with multiple constraints and team-specific requirements.