From 097c34c7b632ec389303fb40cedf83ac2d47f098 Mon Sep 17 00:00:00 2001 From: Daniel <45217974+w3bdesign@users.noreply.github.com> Date: Mon, 22 Jul 2024 01:16:12 +0200 Subject: [PATCH] Update cypress.yml --- .github/workflows/cypress.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index b0623168..d652eddb 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -9,10 +9,12 @@ jobs: - name: Install pnpm run: npm install -g pnpm@9 - name: Install dependencies - run: pnpm i - - name: Start dev server - run: pnpm dev + run: pnpm i - name: Cypress run uses: cypress-io/github-action@v6 with: + build: pnpm build + start: pnpm dev + wait-on: 'http://localhost:3000' # Adjust this URL if your dev server uses a different port + wait-on-timeout: 120 # Timeout in seconds, adjust as needed working-directory: /home/runner/work/dfweb-v4/dfweb-v4 \ No newline at end of file