diff --git a/.github/actions/cypress/action.yml b/.github/actions/cypress/action.yml index 44d9849338..08e0d53533 100644 --- a/.github/actions/cypress/action.yml +++ b/.github/actions/cypress/action.yml @@ -43,10 +43,6 @@ runs: secrets: ${{ inputs.secrets }} e2e_mnemonic: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_CYPRESS_MNEMONIC }} - - name: Serve - shell: bash - run: yarn serve & - - uses: cypress-io/github-action@v6 with: spec: ${{ inputs.spec }} @@ -56,7 +52,9 @@ runs: record: true tag: ${{ inputs.tag }} config: baseUrl=http://localhost:8080 - install-command: yarn install --immutable + start: yarn serve + # we've installed all dependencies in the yarn step above + install: false env: CYPRESS_RECORD_KEY: ${{ inputs.record_key || fromJSON(inputs.secrets).CYPRESS_RECORD_KEY }} GITHUB_TOKEN: ${{ fromJSON(inputs.secrets).GITHUB_TOKEN }}