Using GitHub Actions with cypress-io/github-action

If youโ€™re already using the Cypressโ€™s @cypress-io/github-action, modify the step like this:
- name: Cypress run uses: cypress-io/github-action@v5 with: # ๐Ÿ™‹โ€โ™‚๏ธ Specify Replay Chromium browser: replay-chromium env: REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }}
Add a new step to run after this Cypress GitHub Action for uploading the replays:
- name: Upload replays if: always() uses: replayio/action-upload@v0.5.1 with: api-key: ${{ secrets.RECORD_REPLAY_API_KEY }}
Lastly, add your API key to your Secrets. To get an API key, create a new Replay team and generate an API key โ€” instructions can be found here.
โš ๏ธ
If you run into any problems, consult our troubleshooting guide here.