From df6c32ffaa3fc0779e0cb1995924c61bae6293a1 Mon Sep 17 00:00:00 2001 From: saseungmin Date: Mon, 11 Oct 2021 20:24:25 +0900 Subject: [PATCH] [Add] Codecov record - Set Codecov record dashboard --- .github/workflows/ci.yml | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b46ae4e..ec44611 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,3 +28,6 @@ jobs: with: install: false command: yarn test:e2e + env: + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} + CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }} diff --git a/package.json b/package.json index ff82385..0ecb7ce 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "test:coverage": "yarn test:unit --watchAll=false --coverage", "cypress:open": "cypress open", "cypress:run": "cypress run", - "test:e2e": "start-server-and-test start http://localhost:3000 cypress:run", + "cypress:record": "yarn cypress:run --browser chrome --record", + "test:e2e": "start-server-and-test start http://localhost:3000 cypress:record", "eject": "react-scripts eject" }, "jest": {