| Understand GitHub Actions basics |
Workflow Fundamentals |
Use GitHub Actions workflows to automate testing, builds, and deployments. Choose triggers based on when automation should run. |
| Set up a Drupal workflow |
Drupal Stack Setup |
Use when configuring the runtime environment for Drupal testing and builds in GitHub Actions. |
| Test multiple versions |
Matrix Testing |
Use matrix testing when you need to verify compatibility across multiple Drupal versions, PHP versions, or database types. |
| Run code quality checks |
Code Quality Checks |
Use before running tests to validate code standards, security, and static analysis. |
| Test with PHPUnit |
PHPUnit Testing |
Use for automated unit, kernel, functional, and JavaScript tests for Drupal modules. |
| Compile theme assets |
Theme Asset Compilation |
Use when building Sass, JavaScript, and optimizing assets for Drupal themes in automated workflows. |
| Create deployment artifacts |
Deployment Artifacts |
Use when packaging builds for deployment to staging or production environments. |
| Deploy to environments |
Multi-Environment Deployment |
Use when deploying to staging, production, or multiple hosting environments with different requirements. |
| Cache dependencies |
Caching Strategies |
Use to speed up workflow execution by reusing dependencies and build outputs between runs. |
| Run jobs in parallel |
Parallel Execution |
Use when running independent jobs concurrently to reduce total workflow time. |
| Manage secrets |
Secret Management |
Use for storing sensitive credentials for deployments, API access, and third-party services. |
| Protect environments |
Environment Protection |
Use when adding approval gates and validation for production deployments to prevent accidental releases. |
| Troubleshoot failures |
Troubleshooting |
Use when debugging common GitHub Actions failures in Drupal workflows. |