Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelitow committed Nov 8, 2024
1 parent 671c045 commit 8844c1b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,7 @@ jobs:
- name: Run Playwright tests locally for Preview
if: ${{ github.event_name == 'pull_request' }}
run: |
set -e # Exit on error to fail the action if any command fails
xvfb-run --auto-servernum -- pnpm test:e2e || exit 1
# Check if any tests were found and ran
if ! grep -q "No projects matched" pnpm-debug.log; then
echo "Error: No projects matched the filters. Exiting with failure."
exit 1
fi
xvfb-run --auto-servernum -- pnpm test:e2e
env:
VITE_FUEL_PROVIDER_URL: "http://localhost:4000/v1/graphql"
NEXT_PUBLIC_PROVIDER_URL: "http://localhost:4000/v1/graphql"
Expand Down

0 comments on commit 8844c1b

Please sign in to comment.