Skip to content

Commit

Permalink
last little bits
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevillegas93 committed Oct 24, 2024
1 parent 7bcd36b commit 61f602a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/Playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ jobs:
with:
node-version-file: ".nvmrc"

- name: Install Cucumber
- name: Install Test Dependencies
run: npm i @cucumber/[email protected] @playwright/[email protected]

- name: Install Playwright
run: npx playwright install --with-deps

- name: Install Dependencies
run: npm i

- name: Build app
run: NODE_ENV=test npm run build

Expand All @@ -35,11 +32,11 @@ jobs:
run: |
RETRIES=6
until curl --output /dev/null --silent --head --fail http://localhost:3000 || [ $((RETRIES--)) -eq 0 ]; do
echo "Waiting for server..."
echo "Waiting for http://localhost:3000"
sleep 5
done
if [ $RETRIES -lt 0 ]; then
echo "Server failed to start within the timeout period."
echo "Failed to connect to http://localhost:3000"
exit 1
fi
shell: bash
Expand Down

0 comments on commit 61f602a

Please sign in to comment.