diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4a2b9d..a748329 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,13 +62,13 @@ jobs: env: COMPOSER_AUTH_JSON: ${{ secrets.COMPOSER_AUTH_JSON }} - - name: "Cache dependencies" - uses: "actions/cache@v2" - with: - path: | - ~/.composer/cache - magento - key: "magento-2.4.6-with-php-${{ matrix.php-version }}" +# - name: "Cache dependencies" +# uses: "actions/cache@v2" +# with: +# path: | +# ~/.composer/cache +# magento +# key: "magento-2.4.6-with-php-${{ matrix.php-version }}" - name: "Create Magento 2.4.6 project" run: | @@ -77,6 +77,7 @@ jobs: - name: "Add testing dependencies" run: | + composer config minimum-stability dev composer config --no-plugins allow-plugins.magento/* true composer config --no-plugins allow-plugins.php-http/discovery true composer config --no-plugins allow-plugins.laminas/laminas-dependency-plugin true @@ -94,7 +95,6 @@ jobs: run: | rm -f app/etc/env.php mkdir -p pub/static pub/media - composer require --dev behat/behat tkotosz/test-area-magento2 bin/magento setup:install \ --admin-email="magento@magento.com" \ --admin-firstname="admin" \ @@ -123,8 +123,7 @@ jobs: - name: "Install BehatMagento2 Extension" run: | - composer config minimum-stability dev - composer config repositories.behat-m2-extension path vendor/seec/behat-magento2-extension + composer config repositories.behat-magento2-extension path vendor/seec/behat-magento2-extension composer require seec/behat-magento2-extension:@dev working-directory: 'magento' diff --git a/composer.json b/composer.json index cbd1e27..58eaf84 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "role": "Developer" } ], - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true, "require": { "php": "^8.1", @@ -34,7 +34,7 @@ "magento/module-backend": "*", "friends-of-behat/page-object-extension": "^0.3.2", "friends-of-behat/suite-settings-extension": "^1.1", - "seec/behat-test-runner": "dev-master", + "seec/behat-test-runner": "^8", "friends-of-behat/symfony-extension": "^2.0", "react/promise": "~2.0" }, @@ -48,7 +48,7 @@ "symplify/easy-coding-standard": "^11.3", "symplify/config-transformer": "^12.0", "phpstan/phpstan-symfony": "^1.3", - "phpstan/phpstan-webmozart-assert": "1.2.x-dev" + "phpstan/phpstan-webmozart-assert": "^1" }, "config": { "allow-plugins": {