Skip to content

Commit

Permalink
chore: fix drupal_updates test
Browse files Browse the repository at this point in the history
  • Loading branch information
Leksat committed Nov 23, 2023
1 parent 2d60284 commit 743954c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ jobs:
# Delete vendor dir to avoid potential issues with `composer install`.
rm -rf vendor
composer install
output=$(drush -y updb --cache-clear=0 2>&1)
output=$(pnpm drush -y updb --cache-clear=0 2>&1)
if echo $output | grep -q 'No pending updates'
then
echo "No drupal updates found."
exit 0
fi
drush -y cr
drush -y cex
pnpm drush -y cr
pnpm drush -y cex
cd -
# Check Git changes ignoring the config translations.
if [[ $(git status --porcelain -- apps/silverback-drupal/config ':!apps/silverback-drupal/config/sync/language') ]]
Expand All @@ -114,7 +114,7 @@ jobs:
>&2 echo 'If this check failed due to a Drupal database update which changed the Drupal config:'
>&2 echo ' - Checkout this branch locally'
>&2 echo ' - Switch to Drupal directory'
>&2 echo ' - Run `composer i && silverback setup --no-config-import && drush cex -y`'
>&2 echo ' - Run `composer i && pnpm silverback setup --no-config-import && pnpm drush cex -y`'
>&2 echo ' - Review the config changes'
>&2 echo ' - Commit and push'
>&2 echo ''
Expand Down

0 comments on commit 743954c

Please sign in to comment.