mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
fix(installation): allow plugins in installation tests (#14)
This commit is contained in:
@@ -82,6 +82,15 @@ runs:
|
||||
working-directory: ${{ inputs.magento_directory }}
|
||||
shell: bash
|
||||
|
||||
- run: |
|
||||
composer config --no-interaction allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
|
||||
composer config --no-interaction allow-plugins.laminas/laminas-dependency-plugin true
|
||||
composer config --no-interaction allow-plugins.magento/* true
|
||||
name: Fixup Composer Plugins
|
||||
shell: bash
|
||||
working-directory: ${{ inputs.magento_directory }}
|
||||
if: ${{ !startsWith(inputs.composer_version, '1') }}
|
||||
|
||||
- run: composer require ${{ inputs.package_name }} "@dev" --no-update && composer install
|
||||
name: Require and attempt install
|
||||
working-directory: ${{ inputs.magento_directory }}
|
||||
|
||||
Reference in New Issue
Block a user