Skip to content

Commit

Permalink
update replay package
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphric committed Nov 28, 2023
1 parent 4467742 commit 37a8df1
Show file tree
Hide file tree
Showing 4 changed files with 369 additions and 263 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,4 @@ jobs:
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 }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 5 additions & 2 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import { defineConfig } from "cypress";
import replay from "@replayio/cypress";
import { plugin as replayPlugin } from "@replayio/cypress";

export default defineConfig({
projectId: '6gqhxp',
fixturesFolder: false,
e2e: {
setupNodeEvents(on, config) {
replay(on, config)
replayPlugin(on, config, {
upload: true,
apiKey: process.env.REPLAY_API_KEY,
});
return config
},
env: {
Expand Down
Loading

0 comments on commit 37a8df1

Please sign in to comment.