mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
Magento 2 GitHub Actions
Opinionated Github Actions and Workflows to make building, testing, and maintaining Magento 2 Modules easier.
Workflows
If you are new here, start with a reusable workflow. They are pre-built CI pipelines that you can adopt in minutes — no deep knowledge of the individual actions required. Pick the one that matches your project type and call it from your own workflow file.
| Workflow Name | Description |
|---|---|
| Integration Test | Deprecated — use MageCheck Extension instead. A Github Workflow that runs the Integration Tests of a Magento Package. |
| MageCheck Extension | A Github Workflow that runs various kinds of quality checks for a Magento Extension. |
| MageCheck Store | A Github Workflow that runs various kinds of quality checks for a Magento Store. |
Actions
If the reusable workflows do not fit your needs, the individual actions are the building blocks they are composed from. Use these when you need full control over your pipeline.
| Action Name | Description |
|---|---|
| Fix Magento Install | A Github Action that fixes Magento before composer install |
| Cache Magento | A Github Action that creates a composer cache for a Magento extension or store. |
| Setup Magento | A Github Action that sets up Magento before composer install for an extension or store. |
| Get Magento Version | A Github Action that computes the installed Magento version. |
| Get Composer Version | A Github Action that computes an installed Composer version. |
| Coding Standard | A Github Action that runs the Magento Coding Standard. |
| Semver Compare | A Github Action that semantically compares two versions |
| Supported Version | A Github Action that computes the currently supported Github Actions Matrix for Magento 2 |
| Setup Install | A Github Action that runs bin/magento setup:install from the supported-version services matrix |
| Setup DI Compile | A Github Action that enables all modules and runs bin/magento setup:di:compile |
| Sansec eComscan | A Github Action that runs the Sansec eComscan security scanner. |
Description
Languages
TypeScript
91.9%
Shell
6.8%
PHP
0.9%
JavaScript
0.4%