Skip to content

Commit

Permalink
install graphql as part of the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jul 31, 2024
1 parent 60c3da8 commit fc08498
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,10 @@ jobs:
echo "Copying latest changes and committing to the site."
rsync -a --exclude='.git' --exclude='status-*.txt' --exclude="node_modules" "${{ github.workspace }}/" .
echo "Installing wp-graphql..."
composer require wp-graphql/wp-graphql
git add -A
git commit -m "Update to latest commit: ${{ env.COMMIT_MSG }}" || true
git push origin master || true
Expand All @@ -427,6 +431,9 @@ jobs:
echo "Checking WordPress install status"
terminus wp "${{ env.SITE_ID }}".dev -- cli info
# Activte WP-GraphQL plugin
terminus wp "${{ env.SITE_ID }}".dev -- plugin activate wp-graphql
# Run curl checks against the site URLs to ensure the main site and the subdomain site exist.
echo "Checking site URLs"
SITE_URL_TEST=$(curl -s -o /dev/null -w "%{http_code}" ${{ env.SITE_URL }})
Expand Down

0 comments on commit fc08498

Please sign in to comment.