Skip to content

Commit

Permalink
Merge pull request #10 from bluehorndigital/drupal10
Browse files Browse the repository at this point in the history
Add 10.0.x to workflows
  • Loading branch information
mglaman authored Dec 2, 2021
2 parents 349909a + 9c48842 commit 2a69aa6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
drupal-version: "^9"
- php-version: "8.0"
drupal-version: "^9"
- php-version: "8.0"
drupal-version: "10.0.x-dev"
env:
extensions: zip, gd
key: cache-v1
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,7 @@ async function doScript() {
['require', '--dev', `drupal/core-dev:${drupalVersion}`],
];
if (utils.getMajorVersionFromConstraint(drupalVersion) > 8) {
commands.push(['require', '--dev', 'phpspec/prophecy-phpunit:^2']);
commands.push(['require', '--dev', '--with-all-dependencies', 'phpspec/prophecy-phpunit:^2']);
}
if (extraDependencies) {
commands.push(['require', extraDependencies]);
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function doScript() {
['require', '--dev', `drupal/core-dev:${drupalVersion}`],
];
if (utils.getMajorVersionFromConstraint(drupalVersion) > 8) {
commands.push(['require', '--dev', 'phpspec/prophecy-phpunit:^2', '--with-all-dependencies']);
commands.push(['require', '--dev', '--with-all-dependencies', 'phpspec/prophecy-phpunit:^2']);
}
if (extraDependencies) {
commands.push(['require', extraDependencies]);
Expand Down

0 comments on commit 2a69aa6

Please sign in to comment.