Skip to content

Commit

Permalink
test cypress against local server
Browse files Browse the repository at this point in the history
  • Loading branch information
its-aazizi committed Aug 12, 2024
1 parent eb4159d commit adf7836
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,23 @@ jobs:
echo "VITE_PRICING_PAGE=${{ secrets.VITE_PRICING_PAGE }}" >> .env
echo "VITE_CUSTOM_ASSETS_URL=${{ secrets.VITE_CUSTOM_ASSETS_URL }}" >> .env
- name: Clone the amazon-location-web-marketing repository
run: |
mkdir -p ../amazon-location-web-marketing-temp
git clone --branch main https://${{ secrets.GH_USERNAME }}:${{ secrets.GH_PAT }}@github.com/aws-geospatial/amazon-location-web-marketing.git ../amazon-location-web-marketing-temp
# - name: Clone the amazon-location-web-marketing repository
# run: |
# mkdir -p ../amazon-location-web-marketing-temp
# git clone --branch main https://${{ secrets.GH_USERNAME }}:${{ secrets.GH_PAT }}@github.com/aws-geospatial/amazon-location-web-marketing.git ../amazon-location-web-marketing-temp

# - name: Create build
# run: npm run create-build-with-demo-lib

- name: Create build
run: npm run create-build-with-demo-lib
# - name: Run build
# run: |
# npm run start-build &
# echo "Server started"
# sleep 10

- name: Run build
- name: Run local server
run: |
npm run start-build &
npm run dev &
echo "Server started"
sleep 10
Expand Down

0 comments on commit adf7836

Please sign in to comment.