Skip to content

Commit

Permalink
fix: step added to run test if api url is set
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehsan Mirzarazi authored and Ehsan Mirzarazi committed Feb 21, 2024
1 parent 02e047d commit abc9d17
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ jobs:
with:
build: npm run build
start: npm run start
- name: Run tests with waiting on API
if: env.apiUrl != ''
uses: cypress-io/github-action@v5
with:
build: npm run build
start: npm run start
wait-on: ${{ env.apiUrl }}

check-dependabot:
needs:
Expand Down

0 comments on commit abc9d17

Please sign in to comment.