diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index f9acc46..f920dd4 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -38,8 +38,9 @@ jobs: - name: Cypress run uses: cypress-io/github-action@v5 # use the explicit version number with: - runTests: false - start: npm run cy:run-component + component: true + # quote the url to be safe against YML parsing surprises + wait-on: 'http://localhost:8080' publish-npm: needs: [ test, cypress-run, cypress-run-component ] runs-on: ubuntu-latest diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 62ee573..91cc501 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -44,8 +44,9 @@ jobs: - name: Cypress run uses: cypress-io/github-action@v5 # use the explicit version number with: - runTests: false - start: npm run cy:run-component + component: true + # quote the url to be safe against YML parsing surprises + wait-on: 'http://localhost:8080' test-build-package: needs: [ test, cypress-run, cypress-run-component ] runs-on: ubuntu-latest