From f5327ffcda9c1b707725bfeb7ab0dcd447bb7cfe Mon Sep 17 00:00:00 2001 From: Lee Mills Date: Mon, 10 Feb 2025 08:43:22 +0000 Subject: [PATCH] fix: add specific drupal core install as project can be either 10 or 11, this specificity prevents the workflow from using 10 for everything --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5d976d..b69277c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -91,7 +91,7 @@ jobs: - name: Create LocalGov Drupal project run: | composer create-project --stability dev localgovdrupal/localgov-project:${COMPOSER_REF} ./html - composer --working-dir=./html require --no-install drupal/core-recommended:${{ matrix.drupal-version }} drupal/core-composer-scaffold:${{ matrix.drupal-version }} drupal/core-project-message:${{ matrix.drupal-version }} drupal/core-dev:${{ matrix.drupal-version }} + composer require --working-dir=./html --no-install --with-all-dependencies drupal/core-recommended:${{ matrix.drupal-version }} drupal/core-composer-scaffold:${{ matrix.drupal-version }} drupal/core-project-message:${{ matrix.drupal-version }} drupal/core-dev:${{ matrix.drupal-version }} composer install --working-dir=./html - name: Obtain all dev dependencies for LocalGov Drupal