From a2bb549930807e5fd400ef46e0e6c83bb23aa78f Mon Sep 17 00:00:00 2001 From: Sem Bauke Date: Fri, 29 Sep 2023 10:43:04 +0200 Subject: [PATCH] Update .github/workflows/cypress.yml Co-authored-by: Oliver Eyton-Williams --- .github/workflows/cypress.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 92b7ac010..3e72d57c3 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -16,9 +16,8 @@ jobs: working-directory: ./publish-frontend steps: - uses: actions/checkout@v2 - - name: Install dependencies - run: npm install - - name: Start server - run: npm run dev & - - name: Run tests - run: npm run cy:run + - name: Cypress run + uses: cypress-io/github-action@v6 + with: + start: npm run dev + wait-on: 'http://localhost:3000'