Skip to content

Commit 8be0fcf

Browse files
committed
fix: force drupal/facets 2.0 for dev dependencies
1 parent 6c505f0 commit 8be0fcf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test-module.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ jobs:
131131

132132
- name: Obtain dev dependencies
133133
if: hashFiles('./html/${{inputs.project_path}}/composer.json') != ''
134-
run: jq --raw-output '.["require-dev"] | values | to_entries[] | @sh "\(.key):\(.value)"' ./html/${{inputs.project_path}}/composer.json | xargs composer --working-dir=./html require
134+
run: |
135+
composer --working-dir=./html require 'drupal/facets:^2.0'
136+
jq --raw-output '.["require-dev"] | values | to_entries[] | @sh "\(.key):\(.value)"' ./html/${{inputs.project_path}}/composer.json | xargs composer --working-dir=./html require
135137
136138
eslint_js:
137139
name: ESLint javascript checks

0 commit comments

Comments
 (0)