diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index a5cbe05d..1e1ec294 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -22,4 +22,10 @@ jobs: - name: Cypress run uses: cypress-io/github-action@v5 with: - start: yarn run e2e + build: yarn run build + browser: chrome + start: yarn run serve + record: true + env: + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/packages/cypress/package.json b/packages/cypress/package.json index 4c8248e6..c9c71aac 100644 --- a/packages/cypress/package.json +++ b/packages/cypress/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "clean": "rimraf dist", - "e2e": "cypress run" + "e2e": "cypress run --browser=chrome" }, "private": true, "author": "Douglas Wade ",