Damien Retzinger 01e4ccbc54 feat(semver-compare): add new Github action (#146)
This adds a new Github Action that semantically compares two versions, like 2.1.1 and 2.3.0 giving information about whether or the version is "higher" or "lower" than another version. The action exposes an output called `result` which will match the return type of the PHP [version_compare](https://www.php.net/manual/en/function.version-compare.php) function.

Currently, this action compares `version` against `compare_against` and returns:

- `-1` - if `version` is lower than `compare_against`
- `0` - if `version` is equal to `compare_against`
- `1` - if `version` is greater than `compare_against`

Co-authored-by: Vitaliy Golomoziy <vitaliy.golomoziy@gmail.com>
2023-09-21 08:35:57 -04:00
2023-01-09 10:43:30 -05:00
2023-01-09 10:43:30 -05:00
2023-06-20 09:35:44 -04:00
2023-09-07 21:19:03 +00:00

Magento 2 GitHub Actions

GitHub release (latest SemVer) Unit Test Integration Test Installation Test

Opinionated Github Actions and Workflows to make building, testing, and maintaining Magento 2 Modules easier.

Workflows

Workflow Name Description
Integration Test A Github Workflow that runs the Integration Tests of a Magento Package

Actions

Action Name Description
Unit Test A Github Action that runs the Unit Tests a Magento Package
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.
Installation Test A Github Action that tests the installability of a Magento Package
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
S
Description
No description provided
Readme 3.7 MiB
Languages
TypeScript 91.9%
Shell 6.8%
PHP 0.9%
JavaScript 0.4%