diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab3a29285..f298fd891 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,11 +70,13 @@ jobs: test -d web/libraries/dropzone - name: Override Drupal version to dev for testing dev releases - if: matrix.drupal-release == 'dev' + if: matrix.drupal-release == 'dev' || matrix.drupal-release == 'beta' run: | - composer config minimum-stability dev - composer --verbose require --no-update drupal/core-recommended:11.0.x-dev - composer --verbose require --no-update --dev drupal/core-dev:11.0.x-dev + [[ ${{ matrix.drupal-release }} == 'dev' ]] && composer config minimum-stability ${{ matrix.drupal-release }} + composer config prefer-stable false + composer --verbose require --no-update drupal/core-composer-scaffold:^11@${{ matrix.drupal-release }} + composer --verbose require --no-update drupal/core-recommended:^11@${{ matrix.drupal-release }} + composer --verbose require --no-update --dev drupal/core-dev:^11@${{ matrix.drupal-release }} composer --verbose update - name: Install site