allow plugin in composer.json
This commit is contained in:
parent
de22469954
commit
2bf6b6dd2c
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -32,9 +32,7 @@ jobs:
|
||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: ${{ runner.os }}-composer-
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
composer config --no-plugins allow-plugins.yiisoft/yii2-composer true
|
||||
composer update $DEFAULT_COMPOSER_FLAGS
|
||||
run: composer update $DEFAULT_COMPOSER_FLAGS
|
||||
- name: Run unit tests with coverage
|
||||
run: vendor/bin/phpunit --verbose --coverage-clover=coverage.clover --colors=always
|
||||
if: matrix.php == '7.4'
|
||||
|
@ -37,6 +37,11 @@
|
||||
"suggest": {
|
||||
"twbs/bootstrap-icons": "Add this package to the `require` section of your `composer.json` if you'd like to use the bootstrap icon asset."
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"yiisoft/yii2-composer": true
|
||||
}
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"type": "composer",
|
||||
|
Loading…
Reference in New Issue
Block a user