Skip to content

fix ci definition

fix ci definition #33

Workflow file for this run

name: e2e-tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Cypress run
uses: cypress-io/github-action@v5
with:
build: npm run build
browser: replay-chromium
record: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
id: semantic
with:
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Upload replays
if: always()
uses: replayio/[email protected]
with:
api-key: ${{ secrets.RECORD_REPLAY_API_KEY }}