Skip to content

Commit

Permalink
Fixed CI using dev dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed May 29, 2024
1 parent 015e772 commit 2c61f48
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c61f48

Please sign in to comment.